java.lang.Object
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByDay.ByDayPair
Enclosing class:
ByDay

public static class ByDay.ByDayPair extends Object
Contains both the day of the week and an optional positive or negative integer (ordinal). If the integer is present it represents the nth occurrence of a specific day within the MONTHLY or YEARLY frequency rules. For example, with a MONTHLY rule 1MO indicates the first Monday of the month. If ordinal is 0 then all the matching days are included within the specified frequency rule.
  • Field Details

    • dayOfWeek

      private DayOfWeek dayOfWeek
    • ordinal

      private int ordinal
  • Constructor Details

    • ByDayPair

      public ByDayPair(DayOfWeek dayOfWeek, int ordinal)
    • ByDayPair

      public ByDayPair()
  • Method Details

    • getDayOfWeek

      public DayOfWeek getDayOfWeek()
    • setDayOfWeek

      public void setDayOfWeek(DayOfWeek dayOfWeek)
    • withDayOfWeek

      public ByDay.ByDayPair withDayOfWeek(DayOfWeek dayOfWeek)
    • getOrdinal

      public int getOrdinal()
    • setOrdinal

      public void setOrdinal(int ordinal)
    • withOrdinal

      public ByDay.ByDayPair withOrdinal(int ordinal)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object