Module de.focus_shift.jollyday.core
Package de.focus_shift.jollyday.core.spi
Interface FixedWeekdayRelativeToFixedHolidayConfiguration
Represents the configuration of a holiday that occurs on a fixed weekday
relative to a
FixedHolidayConfiguration holiday that can be
- Limited
- Described
Example: A holiday on the first thursday after the second april. In this example the `first` is the which (occurrence) `thursday` is thr weekday (dayOfWeek) `after` is the when (relation) `day` is the second april (fixed)
The FixedWeekdayRelativeToFixedParser is used.
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.focus_shift.jollyday.core.spi.Limited
Limited.YearCycle -
Method Summary
Modifier and TypeMethodDescription@NonNull FixedHolidayConfigurationday()Describes the anchor the new holiday@NonNull DayOfWeekweekday()Describes, based on the anchor (day), on which weekday the new holiday will occur@NonNull Relationwhen()Describes, based on the anchor (day), the relation like before, after, ... the new holiday will occur@NonNull Occurrencewhich()Describes, based on the anchor (day), on which occurrence the new holiday will occurMethods inherited from interface de.focus_shift.jollyday.core.spi.Described
descriptionPropertiesKey, descriptionPropertiesKeyPrefix, descriptionPropertiesKeyPrefixSeparator, holidayType
-
Method Details
-
day
@NonNull FixedHolidayConfiguration day()Describes the anchor the new holiday- Returns:
- the fixed holiday
-
which
@NonNull Occurrence which()Describes, based on the anchor (day), on which occurrence the new holiday will occur- Returns:
- the occurrence, like the first
-
weekday
@NonNull DayOfWeek weekday()Describes, based on the anchor (day), on which weekday the new holiday will occur- Returns:
- the weekday
-
when
@NonNull Relation when()Describes, based on the anchor (day), the relation like before, after, ... the new holiday will occur- Returns:
- the relation to the anchor
-