public class WeeklyRecurrencePattern extends java.lang.Object implements RecurrencePattern, TaskRecurrencePattern
| Constructor and Description |
|---|
WeeklyRecurrencePattern()
Initializes a new instance of the WeeklyRecurrencePattern class.
|
WeeklyRecurrencePattern(int interval)
Initializes a new instance of the WeeklyRecurrencePattern class.
|
WeeklyRecurrencePattern(int interval,
java.util.List<DayOfWeek> days)
Initializes a new instance of the WeeklyRecurrencePattern class.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DayOfWeek> |
getDays()
Gets which days of the week are in the weekly recurrence pattern.
|
int |
getInterval()
Gets the interval, in weeks, between two consecutive weekly recurrence pattern items.
|
void |
setInterval(int interval)
Sets the interval, in weeks, between two consecutive weekly recurrence pattern items.
|
java.lang.String |
toString()
Converts the value of the current WeeklyRecurrencePattern object to its equivalent string representation.
|
public WeeklyRecurrencePattern()
public WeeklyRecurrencePattern(int interval)
interval - the intervalpublic WeeklyRecurrencePattern(int interval,
java.util.List<DayOfWeek> days)
interval - the intervaldays - the dayspublic 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()