Interface RelativeToWeekdayInMonth

  • All Superinterfaces:
    Described, Limited

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

    • 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