Module de.focus_shift.jollyday.core
Package de.focus_shift.jollyday.core.spi
Interface RelativeToWeekdayInMonthHolidayConfiguration
Represents the configuration of a holiday that occurs on a weekday in relation
to a fixed weekday in a month that can be
- Limited
- Described
Example: A holiday on tuesday before the second friday in october
The RelativeToWeekdayInMonthParser is used.
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.focus_shift.jollyday.core.spi.Limited
Limited.YearCycle -
Method Summary
Methods inherited from interface de.focus_shift.jollyday.core.spi.Described
descriptionPropertiesKey, descriptionPropertiesKeyPrefix, descriptionPropertiesKeyPrefixSeparator, holidayType
-
Method Details
-
weekday
@NonNull DayOfWeek weekday()Describes the weekday on which the new holiday occurs- Returns:
- the weekday of the new holiday
-
when
@NonNull Relation when()Describes the relation of the new holiday to the `weekdayInMonth`- Returns:
- the relation
-
weekdayInMonth
@NonNull FixedWeekdayInMonthHolidayConfiguration weekdayInMonth()Describes the fixed weekday in month that is the anchor in relation to the new holiday- Returns:
- the anchor for the relation to the new holiday
-