public enum RecurrencePattern extends java.lang.Enum<RecurrencePattern>
These values can be assigned through the setPattern
method of the Recurrence class.
| Enum Constant and Description |
|---|
ByTimeInterval
Repeats an item over a specified time interval.
|
Daily
Repeats an item every day.
|
Monthly
Repeats an item every month.
|
Weekly
Repeats an item every week.
|
Yearly
Repeats an item every year.
|
| Modifier and Type | Method and Description |
|---|---|
static RecurrencePattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecurrencePattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecurrencePattern Daily
public static final RecurrencePattern Weekly
public static final RecurrencePattern Monthly
public static final RecurrencePattern Yearly
public static final RecurrencePattern ByTimeInterval
public static RecurrencePattern[] values()
for (RecurrencePattern c : RecurrencePattern.values()) System.out.println(c);
public static RecurrencePattern valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null