/src/main/java/org/htmlunit/ProxyAutoConfig.java
calendar.set( Calendar.DAY_OF_MONTH, day) ;cal1.set( Calendar.SECOND, 0) ;
cal1.set ( Calendar.SECOND, 0 ) ;
cal2 = dateRange_createCalendar(timezone, day2, month2, year2); } final Calendar today = Calendar.getInstance(timezone); today.set(Calendar.MILLISECOND, 0); today.set(Calendar.SECOND, 0); cal1.set(Calendar.MILLISECOND, 0); <extra_id_0> 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) {