public enum Frequency extends Enum<Frequency>
Enum Constant and Description |
---|
Daily
The event will be recurring daily.
|
Hourly
The event will be recurring hourly.
|
Minutely
The event will be recurring minutely.
|
Monthly
The event will be recurring monthly.
|
Secondly
The event will be recurring secondly.
|
Weekly
The event will be recurring weekly.
|
Yearly
The event will be recurring yearly.
|
Modifier and Type | Method and Description |
---|---|
static Frequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Frequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Frequency Secondly
public static final Frequency Minutely
public static final Frequency Hourly
public static final Frequency Daily
public static final Frequency Weekly
public static final Frequency Monthly
public static final Frequency Yearly
public static Frequency[] values()
for (Frequency c : Frequency.values()) System.out.println(c);
public static Frequency 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 null