public class RelativeYearlyRecurrencePattern extends java.lang.Object implements RecurrencePattern, TaskRecurrencePattern, TimeChangePattern
| Constructor and Description |
|---|
RelativeYearlyRecurrencePattern()
Initializes a new instance of the RelativeYearlyRecurrencePattern class.
|
RelativeYearlyRecurrencePattern(Month month,
java.util.List<DayOfWeek> days,
DayOfWeekIndex dayIndex)
Initializes a new instance of the RelativeYearlyRecurrencePattern class.
|
| Modifier and Type | Method and Description |
|---|---|
DayOfWeekIndex |
getDayIndex()
Gets which week in a month is used in a relative yearly recurrence pattern.
|
java.util.List<DayOfWeek> |
getDays()
Gets the days of the week that are used in item recurrence patterns.
|
Month |
getMonth()
Gets the month when a yearly recurring item occurs.
|
void |
setDayIndex(DayOfWeekIndex dayIndex)
Sets which week in a month is used in a relative yearly recurrence pattern.
|
void |
setMonth(Month month)
Sets the month when a yearly recurring item occurs.
|
java.lang.String |
toString()
Converts the value of the current RelativeYearlyRecurrencePattern object to its equivalent string representation.
|
public RelativeYearlyRecurrencePattern()
public RelativeYearlyRecurrencePattern(Month month, java.util.List<DayOfWeek> days, DayOfWeekIndex dayIndex)
month - the monthdays - the daysdayIndex - the day indexpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<DayOfWeek> getDays()
public DayOfWeekIndex getDayIndex()
public void setDayIndex(DayOfWeekIndex dayIndex)
dayIndex - the new day indexpublic Month getMonth()
public void setMonth(Month month)
month - the new month