Module de.focus_shift.jollyday.core
Package de.focus_shift.jollyday.core.spi
Interface ChristianHolidayConfiguration
Represents the configuration of a christian holiday that can be
- Movable
- Limited
- Described
and has a special ChristianHolidayConfiguration.ChristianHolidayType and a chronology based on Chronology.
Two chronologies are supported:
- ISO
- Julian
Example: All christian holidays are relative to Easter Sunday e.g. carnival is 47 days after Easter Sunday.
The ChristianHolidayParser is used.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumNested classes/interfaces inherited from interface de.focus_shift.jollyday.core.spi.Limited
Limited.YearCycleNested classes/interfaces inherited from interface de.focus_shift.jollyday.core.spi.Movable
Movable.MovingCondition -
Method Summary
Modifier and TypeMethodDescription@NonNull ChronologyDescribes theChronologyof the christian holidaydefault @NonNull Stringtype()Describes theChristianHolidayConfiguration.ChristianHolidayTypeMethods inherited from interface de.focus_shift.jollyday.core.spi.Described
descriptionPropertiesKey, descriptionPropertiesKeyPrefixSeparator, holidayTypeMethods inherited from interface de.focus_shift.jollyday.core.spi.Movable
conditions
-
Method Details
-
type
@NonNull ChristianHolidayConfiguration.ChristianHolidayType type()Describes theChristianHolidayConfiguration.ChristianHolidayType- Returns:
- the type of the christian holiday
-
chronology
@NonNull Chronology chronology()Describes theChronologyof the christian holiday- Returns:
- the chronology of the christian holiday
-
descriptionPropertiesKeyPrefix
- Specified by:
descriptionPropertiesKeyPrefixin interfaceDescribed
-