Class YearCalendar
java.lang.Object
overit.geocallapp.wfm.systemsettings.bl.calendar.YearCalendar
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddHoliday(Date holidayDate) booleanaddHolidays(Collection<Date> holidayDates) getHolidays(Date startDate, Date endDate) Method that checks if a day within a range of dates is a holiday and adds it to the collection.getYear()booleanbooleanremoveHoliday(Date holiday) void
-
Constructor Details
-
YearCalendar
public YearCalendar()
-
-
Method Details
-
getYear
-
setYear
-
getHolidays
-
addHoliday
-
addHolidays
-
removeHoliday
-
isHoliday
-
getHolidays
Method that checks if a day within a range of dates is a holiday and adds it to the collection.- Parameters:
startDate- the start dateendDate- the end date- Returns:
- the holidays within the date range.
-