Package com.walkfares.calendar.holiday
Class Ordinal
java.lang.Object
com.walkfares.calendar.holiday.BaseHolidayRule
com.walkfares.calendar.holiday.Ordinal
- All Implemented Interfaces:
HolidayRule
public class Ordinal extends BaseHolidayRule
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
getDay()
List<Holiday>
getHolidaysForYear(int year)
String
getMonth()
int
getOrdinal()
boolean
isHoliday(UTCDate date)
Ordinal
withOptions(HolidayRuleOptions options)
Methods inherited from class com.walkfares.calendar.holiday.BaseHolidayRule
equals, getCode, getName, getOptions, hashCode
-
Constructor Details
-
Method Details
-
withOptions
- Overrides:
withOptions
in classBaseHolidayRule
-
getHolidaysForYear
-
isHoliday
-
getOrdinal
public int getOrdinal() -
getDay
-
getMonth
-