public enum MonthOption extends java.lang.Enum<MonthOption> implements ICRMLookupEnum
Enum Constant and Description |
---|
CURRENT_MONTH |
LAST_NINE_MONTHS |
LAST_SIX_MONTHS |
LAST_THREE_MONTHS |
LAST_TWELVE_MONTHS |
LAST_TWO_MONTHS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
static MonthOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MonthOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonthOption CURRENT_MONTH
public static final MonthOption LAST_TWO_MONTHS
public static final MonthOption LAST_THREE_MONTHS
public static final MonthOption LAST_SIX_MONTHS
public static final MonthOption LAST_NINE_MONTHS
public static final MonthOption LAST_TWELVE_MONTHS
public static MonthOption[] values()
for (MonthOption c : MonthOption.values()) System.out.println(c);
public static MonthOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLabel()
getLabel
in interface ICRMLookupEnum