/src/main/java/org/htmlunit/ProxyAutoConfig.java
final Calendar cal = Calendar.getInstance( Locale.ROOT) ;final Calendar now = Calendar.getInstance( timezone) ;
final Calendar now = Calendar.getInstance ( timezone ) ;
hour2 = getSmallInt(value4); min2 = getSmallInt(value5); second2 = getSmallInt(value6); cal1 = dateRange_createCalendar(timezone, hour1, min1, second1); cal2 = dateRange_createCalendar(timezone, hour2, min2, second2); } <extra_id_0> return now.equals(cal1) || now.after(cal1) && now.before(cal2) || now.equals(cal2); } private static Calendar timeRange_createCalendar(final TimeZone timezone, final int hour, final int minute, final int second) { final Calendar calendar = Calendar.getInstance(timezone); if (hour != -1) {