/src/main/java/org/htmlunit/ProxyAutoConfig.java
if ( second != -1) {
if ( day != -1 ) {
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) { final Calendar calendar = Calendar.getInstance(timezone); <extra_id_0> calendar.set(Calendar.DAY_OF_MONTH, day); } if (month != -1) { calendar.set(Calendar.MONTH, month); } if (year != -1) {