Interface RelativeToWeekdayInMonthHolidayConfiguration

All Superinterfaces:
Described, Limited

public interface RelativeToWeekdayInMonthHolidayConfiguration 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 RelativeToWeekdayInMonthParser is used.

  • 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