Package com.walkfares.calendar.holiday
Class BaseHolidayRule
java.lang.Object
com.walkfares.calendar.holiday.BaseHolidayRule
- All Implemented Interfaces:
HolidayRule
- Direct Known Subclasses:
Actual
,EasterSunday
,Every
,Last
,Ordinal
,Penultimate
,VictoriaDay
public abstract class BaseHolidayRule extends Object implements HolidayRule
-
Constructor Summary
Constructors Constructor Description BaseHolidayRule()
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
String
getCode()
String
getName()
HolidayRuleOptions
getOptions()
int
hashCode()
BaseHolidayRule
withOptions(HolidayRuleOptions options)
-
Constructor Details
-
BaseHolidayRule
public BaseHolidayRule()
-
-
Method Details
-
getCode
- Specified by:
getCode
in interfaceHolidayRule
-
getName
- Specified by:
getName
in interfaceHolidayRule
-
withOptions
-
getOptions
-
equals
-
hashCode
public int hashCode()
-