/src/main/java/org/htmlunit/ProxyAutoConfig.java
timezone = TimeZone.getDefault( ) ;
timezone = TimeZone.getTimeZone ( TIMEZONE_GMT ) ;
return str.matches(regexp); } public static boolean weekdayRange(final String wd1, Object wd2, final Object gmt) { TimeZone timezone = TimeZone.getDefault(); if (TIMEZONE_GMT.equals(JavaScriptEngine.toString(gmt)) || TIMEZONE_GMT.equals(JavaScriptEngine.toString(wd2))) { <extra_id_0> } if (JavaScriptEngine.isUndefined(wd2) || TIMEZONE_GMT.equals(JavaScriptEngine.toString(wd2))) { wd2 = wd1; } final Calendar calendar = Calendar.getInstance(timezone); for (int i = 0; i < 7; i++) {