public enum DateTimeFunctionType extends Enum<DateTimeFunctionType>
| Enum Constant and Description |
|---|
DAYOFMONTH
The dayofmonth function.
|
DAYOFWEEK
The dayofweek function.
|
DAYOFYEAR
The dayofyear function.
|
HOUR
The 'hour' function.
|
MINUTE
The 'minute' function.
|
MONTH
The month function.
|
SECOND
The 'second' function.
|
WEEK
The week function.
|
YEAR
The year function.
|
| Modifier and Type | Method and Description |
|---|---|
static DateTimeFunctionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeFunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeFunctionType SECOND
public static final DateTimeFunctionType MINUTE
public static final DateTimeFunctionType HOUR
public static final DateTimeFunctionType DAYOFMONTH
public static final DateTimeFunctionType DAYOFWEEK
public static final DateTimeFunctionType DAYOFYEAR
public static final DateTimeFunctionType WEEK
public static final DateTimeFunctionType MONTH
public static final DateTimeFunctionType YEAR
public static DateTimeFunctionType[] values()
for (DateTimeFunctionType c : DateTimeFunctionType.values()) System.out.println(c);
public static DateTimeFunctionType 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 © 2012 Batoo Software & Consultancy. All Rights Reserved.