public enum RecurrenceCycle extends Enum<RecurrenceCycle>
| Modifier and Type | Method and Description |
|---|---|
static RecurrenceCycle |
getByName(String name) |
String |
getName() |
String |
toString() |
static RecurrenceCycle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecurrenceCycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecurrenceCycle MONTH
public static final RecurrenceCycle WEEK
public static final RecurrenceCycle DAY
public static final RecurrenceCycle ON_DEMAND
public static RecurrenceCycle[] values()
for (RecurrenceCycle c : RecurrenceCycle.values()) System.out.println(c);
public static RecurrenceCycle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static RecurrenceCycle getByName(String name)
public String getName()
public String toString()
toString in class Enum<RecurrenceCycle>Copyright © 2017. All rights reserved.