public enum RecurrenceFrequency extends Enum<RecurrenceFrequency>
Enum Constant and Description |
---|
DAY
Enum value Day.
|
HOUR
Enum value Hour.
|
MINUTE
Enum value Minute.
|
MONTH
Enum value Month.
|
NONE
Enum value None.
|
SECOND
Enum value Second.
|
WEEK
Enum value Week.
|
YEAR
Enum value Year.
|
Modifier and Type | Method and Description |
---|---|
static RecurrenceFrequency |
fromString(String value)
Parses a serialized value to a RecurrenceFrequency instance.
|
String |
toString() |
static RecurrenceFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecurrenceFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecurrenceFrequency NONE
public static final RecurrenceFrequency SECOND
public static final RecurrenceFrequency MINUTE
public static final RecurrenceFrequency HOUR
public static final RecurrenceFrequency DAY
public static final RecurrenceFrequency WEEK
public static final RecurrenceFrequency MONTH
public static final RecurrenceFrequency YEAR
public static RecurrenceFrequency[] values()
for (RecurrenceFrequency c : RecurrenceFrequency.values()) System.out.println(c);
public static RecurrenceFrequency 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 RecurrenceFrequency fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<RecurrenceFrequency>
Copyright © 2019. All rights reserved.