public enum Frequency extends Enum<Frequency>
Enum Constant and Description |
---|
BIMONTHLY |
BIWEEKLY |
MISCELLANEOUS |
MONTHLY |
NONE |
QUARTERLY |
SEMIMONTHLY |
WEEKLY |
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 NONE
public static final Frequency WEEKLY
public static final Frequency BIWEEKLY
public static final Frequency SEMIMONTHLY
public static final Frequency MONTHLY
public static final Frequency BIMONTHLY
public static final Frequency QUARTERLY
public static final Frequency MISCELLANEOUS
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 nullCopyright © 2010–2016. All rights reserved.