E
- a representation of a date, typically JDK: Date, Calendar;
Joda:LocalDate, YearMonthDaypublic interface HolidayCalendar<E> extends ReadOnlyHolidayCalendar<E>
Modifier and Type | Method and Description |
---|---|
boolean |
isHoliday(E date)
Check if a date is a holiday.
|
HolidayCalendar<E> |
setEarlyBoundary(E earlyBoundary)
Sets the earliest date (must be <= first date in holiday set)
|
HolidayCalendar<E> |
setHolidays(Set<E> holidays)
Takes a copy of the holidays and store it in an immutable
set.
|
HolidayCalendar<E> |
setLateBoundary(E lateBoundary)
Sets the latest date (must be <= first date in holiday set)
|
getEarlyBoundary, getHolidays, getLateBoundary
HolidayCalendar<E> setHolidays(Set<E> holidays)
HolidayCalendar<E> setEarlyBoundary(E earlyBoundary)
earlyBoundary
- HolidayCalendar<E> setLateBoundary(E lateBoundary)
lateBoundary
- boolean isHoliday(E date)
date
- Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.