Module de.focus_shift.jollyday.core
Package de.focus_shift.jollyday.core.spi
Interface FixedWeekdayInMonthHolidayConfiguration
Represents the configuration of a holiday that has a fixed weekday in a month based on its occurrence that can be
- Movable
- Limited
- Described
Example: The first Saturday in January.
The FixedWeekdayInMonthParser is used.
-
Nested Class Summary
Nested 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
Methods inherited from interface de.focus_shift.jollyday.core.spi.Described
descriptionPropertiesKey, descriptionPropertiesKeyPrefix, descriptionPropertiesKeyPrefixSeparator, holidayTypeMethods inherited from interface de.focus_shift.jollyday.core.spi.Movable
conditions
-
Method Details
-
weekday
@NonNull DayOfWeek weekday()Describes the day of the week, like Monday, Tuesday, ...- Returns:
- the weekday on which the holiday occurs
-
month
@NonNull Month month()Describes the month in which the holiday will occur.- Returns:
- the month in which the holiday occurs
-
which
@NonNull Occurrence which()Describes on which weekday the holiday occurs, like the first or second- Returns:
- the occurrence
-