public static enum TimeFunctions.Type extends Enum<TimeFunctions.Type>
Enum Constant and Description |
---|
DATE |
DAY_OF_MONTH |
DAY_OF_WEEK |
DAY_OF_YEAR |
HOUR_OF_DAY |
MINUTE_OF_HOUR |
MONTH_OF_YEAR |
SECOND_OF_MINUTE |
YEAR |
Modifier and Type | Method and Description |
---|---|
static TimeFunctions.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeFunctions.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeFunctions.Type DATE
public static final TimeFunctions.Type DAY_OF_MONTH
public static final TimeFunctions.Type DAY_OF_WEEK
public static final TimeFunctions.Type DAY_OF_YEAR
public static final TimeFunctions.Type HOUR_OF_DAY
public static final TimeFunctions.Type MINUTE_OF_HOUR
public static final TimeFunctions.Type MONTH_OF_YEAR
public static final TimeFunctions.Type SECOND_OF_MINUTE
public static final TimeFunctions.Type YEAR
public static TimeFunctions.Type[] values()
for (TimeFunctions.Type c : TimeFunctions.Type.values()) System.out.println(c);
public static TimeFunctions.Type 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 © 2018. All rights reserved.