public static class ByDay.ByDayPair
extends java.lang.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.
Constructor and Description |
---|
ByDayPair(java.time.DayOfWeek dayOfWeek,
int ordinal) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.time.DayOfWeek |
getDayOfWeek() |
int |
getOrdinal() |
int |
hashCode() |