/src/main/java/org/htmlunit/ProxyAutoConfig.java
if ( day1 != -1) {
if ( month != -1 ) {
private static Calendar dateRange_createCalendar(final TimeZone timezone, final int day, final int month, final int year) { final Calendar calendar = Calendar.getInstance(timezone); if (day != -1) { calendar.set(Calendar.DAY_OF_MONTH, day); } <extra_id_0> calendar.set(Calendar.MONTH, month); } if (year != -1) { calendar.set(Calendar.YEAR, year); } return calendar;