Interface FixedWeekdayRelativeToFixedHolidayConfiguration

All Superinterfaces:
Described, Limited

public interface FixedWeekdayRelativeToFixedHolidayConfiguration extends Described, Limited
Represents the configuration of a holiday that occurs on a fixed weekday relative to a FixedHolidayConfiguration 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 Details

    • day

      Describes the anchor the new holiday
      Returns:
      the fixed holiday
    • which

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

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

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