Class ByDay.ByDayPair
java.lang.Object
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByDay.ByDayPair
- Enclosing class:
ByDay
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintinthashCode()voidsetDayOfWeek(DayOfWeek dayOfWeek) voidsetOrdinal(int ordinal) toString()withDayOfWeek(DayOfWeek dayOfWeek) withOrdinal(int ordinal)
-
Field Details
-
dayOfWeek
-
ordinal
private int ordinal
-
-
Constructor Details
-
ByDayPair
-
ByDayPair
public ByDayPair()
-
-
Method Details
-
getDayOfWeek
-
setDayOfWeek
-
withDayOfWeek
-
getOrdinal
public int getOrdinal() -
setOrdinal
public void setOrdinal(int ordinal) -
withOrdinal
-
equals
-
hashCode
-
toString
-