public enum Frequency extends Enum<Frequency> implements Serializable
Java class for Frequency.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Frequency"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="DAILY"/> <enumeration value="MONTHLY"/> <enumeration value="SPECIFIC_DAY_OF_WEEK"/> <enumeration value="SPECIFIC_DAY_OF_MONTH"/> </restriction> </simpleType>
Enum Constant and Description |
---|
DAILY |
MONTHLY |
SPECIFIC_DAY_OF_MONTH |
SPECIFIC_DAY_OF_WEEK |
Modifier and Type | Method and Description |
---|---|
static Frequency |
fromValue(String v) |
String |
value() |
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 DAILY
public static final Frequency MONTHLY
public static final Frequency SPECIFIC_DAY_OF_WEEK
public static final Frequency SPECIFIC_DAY_OF_MONTH
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 nullpublic String value()
Copyright © 2023. All rights reserved.