public class RelativeMonthlyRecurrencePattern extends java.lang.Object implements RecurrencePattern, TaskRecurrencePattern
| Constructor and Description |
|---|
RelativeMonthlyRecurrencePattern()
Initializes a new instance of the RelativeMonthlyRecurrencePattern class.
|
RelativeMonthlyRecurrencePattern(int interval,
java.util.List<DayOfWeek> days,
DayOfWeekIndex dayIndex)
Initializes a new instance of the RelativeMonthlyRecurrencePattern class.
|
| Modifier and Type | Method and Description |
|---|---|
DayOfWeekIndex |
getDayIndex()
Gets which week is used in a relative monthly recurrence pattern.
|
java.util.List<DayOfWeek> |
getDays()
Gets which days of the week are in the relative monthly recurrence pattern.
|
int |
getInterval()
Gets the interval between two consecutive monthly recurring pattern items.
|
void |
setDayIndex(DayOfWeekIndex dayIndex)
Sets which week is used in a relative monthly recurrence pattern.
|
void |
setInterval(int interval)
Sets the interval between two consecutive monthly recurring pattern items.
|
java.lang.String |
toString()
Converts the value of the current RelativeMonthlyRecurrencePattern object to its equivalent string representation.
|
public RelativeMonthlyRecurrencePattern()
public RelativeMonthlyRecurrencePattern(int interval,
java.util.List<DayOfWeek> days,
DayOfWeekIndex dayIndex)
interval - the intervaldays - the daysdayIndex - the day indexpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getInterval()
public void setInterval(int interval)
interval - the new intervalpublic java.util.List<DayOfWeek> getDays()
public DayOfWeekIndex getDayIndex()
public void setDayIndex(DayOfWeekIndex dayIndex)
dayIndex - the new day index