Module de.focus_shift.jollyday.core
Package de.focus_shift.jollyday.core.spi
Interface ChristianHoliday
-
public interface ChristianHoliday extends Limited, Described, Movable
Represents the configuration of a christian holiday that can be- Movable
- Limited
- Described
and has a special
ChristianHoliday.ChristianHolidayTypeand a chronology based onChronology.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
ChristianHolidayParseris used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChristianHoliday.ChristianHolidayType-
Nested classes/interfaces inherited from interface de.focus_shift.jollyday.core.spi.Limited
Limited.YearCycle
-
Nested classes/interfaces inherited from interface de.focus_shift.jollyday.core.spi.Movable
Movable.MovingCondition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Chronologychronology()Describes theChronologyof the christian holidayChristianHoliday.ChristianHolidayTypetype()Describes theChristianHoliday.ChristianHolidayType-
Methods inherited from interface de.focus_shift.jollyday.core.spi.Described
descriptionPropertiesKey, holidayType
-
Methods inherited from interface de.focus_shift.jollyday.core.spi.Movable
conditions
-
-
-
-
Method Detail
-
type
ChristianHoliday.ChristianHolidayType type()
Describes theChristianHoliday.ChristianHolidayType- Returns:
- the type of the christian holiday
-
chronology
Chronology chronology()
Describes theChronologyof the christian holiday- Returns:
- the chronology of the christian holiday
-
-