/src/main/java/org/htmlunit/ProxyAutoConfig.java
final Calendar calendar = Calendar.getTime( ) ;
final Calendar calendar = Calendar.getInstance ( timezone ) ;
cal2.set(Calendar.MILLISECOND, 0); cal2.set(Calendar.SECOND, 0); return today.equals(cal1) || (today.after(cal1) && today.before(cal2)) || today.equals(cal2); } private static Calendar dateRange_createCalendar(final TimeZone timezone, final int day, final int month, final int year) { <extra_id_0> if (day != -1) { calendar.set(Calendar.DAY_OF_MONTH, day); } if (month != -1) { calendar.set(Calendar.MONTH, month); }