public static enum QueryConditionDate.StaticRange extends java.lang.Enum<QueryConditionDate.StaticRange>
Enum Constant and Description |
---|
IN_THE_LAST_HOUR |
LAST_MONTH |
LAST_WEEK |
LAST_YEAR |
NEXT_MONTH |
NEXT_WEEK |
NEXT_YEAR |
THIS_MONTH |
THIS_WEEK |
THIS_YEAR |
TODAY |
TOMORROW |
YESTERDAY |
Modifier and Type | Method and Description |
---|---|
static QueryConditionDate.StaticRange |
find(int id) |
java.lang.String |
getDisplayString(java.util.Locale locale) |
java.lang.String |
getEndRange() |
int |
getID() |
java.lang.String |
getStartRange() |
java.lang.String |
toString() |
static QueryConditionDate.StaticRange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryConditionDate.StaticRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryConditionDate.StaticRange IN_THE_LAST_HOUR
public static final QueryConditionDate.StaticRange TODAY
public static final QueryConditionDate.StaticRange THIS_WEEK
public static final QueryConditionDate.StaticRange THIS_MONTH
public static final QueryConditionDate.StaticRange THIS_YEAR
public static final QueryConditionDate.StaticRange YESTERDAY
public static final QueryConditionDate.StaticRange LAST_WEEK
public static final QueryConditionDate.StaticRange LAST_MONTH
public static final QueryConditionDate.StaticRange LAST_YEAR
public static final QueryConditionDate.StaticRange TOMORROW
public static final QueryConditionDate.StaticRange NEXT_WEEK
public static final QueryConditionDate.StaticRange NEXT_MONTH
public static final QueryConditionDate.StaticRange NEXT_YEAR
public static QueryConditionDate.StaticRange[] values()
for (QueryConditionDate.StaticRange c : QueryConditionDate.StaticRange.values()) System.out.println(c);
public static QueryConditionDate.StaticRange 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 int getID()
public java.lang.String getStartRange()
public java.lang.String getEndRange()
public java.lang.String toString()
toString
in class java.lang.Enum<QueryConditionDate.StaticRange>
public java.lang.String getDisplayString(java.util.Locale locale)
public static QueryConditionDate.StaticRange find(int id)
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.