public static enum SearchCriteria.DateOption extends Enum<SearchCriteria.DateOption>
Enum Constant and Description |
---|
PASTDAY |
PASTMONTH |
PASTWEEK |
PASTYEAR |
Modifier and Type | Method and Description |
---|---|
static SearchCriteria.DateOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchCriteria.DateOption[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final SearchCriteria.DateOption PASTDAY
public static final SearchCriteria.DateOption PASTWEEK
public static final SearchCriteria.DateOption PASTMONTH
public static final SearchCriteria.DateOption PASTYEAR
public static SearchCriteria.DateOption[] values()
for (SearchCriteria.DateOption c : SearchCriteria.DateOption.values()) System.out.println(c);
public static SearchCriteria.DateOption 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