code: private static boolean isHoliday(Calendar cal) {
  		int year = cal.get(Calendar.YEAR);
  		Set<?> yearSet = getHolidaySet(year);
  		for (Object aYearSet : yearSet) {
  			Date date = (Date) aYearSet;
  			if (checkDate(cal, dateToCalendar(date))) {
  				return true;
  			}
  		}
  		return false;
  	}
docs: Check if given Calendar object represents a holiday.
  
  @param cal
  The Calendar to check.
  @return true if holiday, false otherwise.