Module de.focus_shift.jollyday.core
Package de.focus_shift.jollyday.core.spi
Interface FixedWeekdayBetweenFixedHolidayConfiguration
Represents the configuration of a fixed weekday holiday between two other
FixedHolidayConfiguration holidays/days that can be
- Limited
- Described
The `from` and `to` describes the date range in which the `weekday` is a holiday.
Example: The holiday is the Saturday between the first January and the 10th January. If there are multiple Saturdays between the two dates all will be returned.
The FixedWeekdayBetweenFixedParser 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 FixedHolidayConfigurationfrom()Start of the date range in which the weekday occurs@NonNull FixedHolidayConfigurationto()End of the date range in which the weekday occurs@NonNull DayOfWeekweekday()The weekday which represents the holiday between from and toMethods inherited from interface de.focus_shift.jollyday.core.spi.Described
descriptionPropertiesKey, descriptionPropertiesKeyPrefix, descriptionPropertiesKeyPrefixSeparator, holidayType
-
Method Details
-
from
@NonNull FixedHolidayConfiguration from()Start of the date range in which the weekday occurs- Returns:
- the
FixedHolidayConfigurationstart date of the date range
-
to
@NonNull FixedHolidayConfiguration to()End of the date range in which the weekday occurs- Returns:
- the
FixedHolidayConfigurationend date of the date range
-
weekday
@NonNull DayOfWeek weekday()The weekday which represents the holiday between from and to- Returns:
- the weekday for the holiday
-