Module de.focus_shift.jollyday.core
Package de.focus_shift.jollyday.core.spi
Interface RelativeToWeekdayInMonth
-
public interface RelativeToWeekdayInMonth extends Described, Limited
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
RelativeToWeekdayInMonthParseris 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 DayOfWeekweekday()Describes the weekday on which the new holiday occursFixedWeekdayInMonthweekdayInMonth()Describes the fixed weekday in month that is the anchor in relation to the new holidayRelationwhen()Describes the relation of the new holiday to the `weekdayInMonth`-
Methods inherited from interface de.focus_shift.jollyday.core.spi.Described
descriptionPropertiesKey, holidayType
-
-
-
-
Method Detail
-
weekday
DayOfWeek weekday()
Describes the weekday on which the new holiday occurs- Returns:
- the weekday of the new holiday
-
when
Relation when()
Describes the relation of the new holiday to the `weekdayInMonth`- Returns:
- the relation
-
weekdayInMonth
FixedWeekdayInMonth 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
-
-