Module de.focus_shift.jollyday.core
Package de.focus_shift.jollyday.core.spi
Interface FixedWeekdayBetweenFixed
-
public interface FixedWeekdayBetweenFixed extends Described, Limited
Represents the configuration of a fixed weekday holiday between two otherFixedholidays/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
FixedWeekdayBetweenFixedParseris used.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.focus_shift.jollyday.core.spi.Limited
Limited.YearCycle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Fixedfrom()Start of the date range in which the weekday occursFixedto()End of the date range in which the weekday occursDayOfWeekweekday()The weekday which represents the holiday between from and to-
Methods inherited from interface de.focus_shift.jollyday.core.spi.Described
descriptionPropertiesKey, holidayType
-
-
-
-
Method Detail
-
from
Fixed from()
Start of the date range in which the weekday occurs- Returns:
- the
Fixedstart date of the date range
-
to
Fixed to()
End of the date range in which the weekday occurs- Returns:
- the
Fixedend date of the date range
-
weekday
DayOfWeek weekday()
The weekday which represents the holiday between from and to- Returns:
- the weekday for the holiday
-
-