Interface FixedWeekdayRelativeToFixed

  • All Superinterfaces:
    Described, Limited

    public interface FixedWeekdayRelativeToFixed
    extends Described, Limited
    Represents the configuration of a holiday that occurs on a fixed weekday relative to a Fixed holiday that can be
    • Limited
    • Described

    Example: A holiday on the first thursday after the second april. In this example the `first` is the which (occurrence) `thursday` is thr weekday (dayOfWeek) `after` is the when (relation) `day` is the second april (fixed)

    The FixedWeekdayRelativeToFixedParser is used.

    • Method Detail

      • day

        Fixed day()
        Describes the anchor the new holiday
        Returns:
        the fixed holiday
      • which

        Occurrence which()
        Describes, based on the anchor (day), on which occurrence the new holiday will occur
        Returns:
        the occurrence, like the first
      • weekday

        DayOfWeek weekday()
        Describes, based on the anchor (day), on which weekday the new holiday will occur
        Returns:
        the weekday
      • when

        Relation when()
        Describes, based on the anchor (day), the relation like before, after, ... the new holiday will occur
        Returns:
        the relation to the anchor