public static enum SearchQuery.DateResolution extends Enum<SearchQuery.DateResolution>
Date
searchesEnum Constant and Description |
---|
Day |
Hour |
Minute |
Month |
Second |
Year |
Modifier and Type | Method and Description |
---|---|
static SearchQuery.DateResolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchQuery.DateResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchQuery.DateResolution Second
public static final SearchQuery.DateResolution Minute
public static final SearchQuery.DateResolution Hour
public static final SearchQuery.DateResolution Day
public static final SearchQuery.DateResolution Month
public static final SearchQuery.DateResolution Year
public static SearchQuery.DateResolution[] values()
for (SearchQuery.DateResolution c : SearchQuery.DateResolution.values()) System.out.println(c);
public static SearchQuery.DateResolution 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-2012 The Apache Software Foundation. All Rights Reserved.