Enum DateTimeFieldExpression.DateTimeField
- java.lang.Object
-
- java.lang.Enum<DateTimeFieldExpression.DateTimeField>
-
- org.hotrod.runtime.livesql.expressions.datetime.DateTimeFieldExpression.DateTimeField
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DateTimeFieldExpression.DateTimeField>
- Enclosing class:
- DateTimeFieldExpression
public static enum DateTimeFieldExpression.DateTimeField extends java.lang.Enum<DateTimeFieldExpression.DateTimeField>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAYDOWHOURMILLISECONDMINUTEMONTHQUARTERSECONDTIMEZONE_HOURTIMEZONE_MINUTETZOFFSETWEEKYEAR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DateTimeFieldExpression.DateTimeFieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DateTimeFieldExpression.DateTimeField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YEAR
public static final DateTimeFieldExpression.DateTimeField YEAR
-
MONTH
public static final DateTimeFieldExpression.DateTimeField MONTH
-
DAY
public static final DateTimeFieldExpression.DateTimeField DAY
-
HOUR
public static final DateTimeFieldExpression.DateTimeField HOUR
-
MINUTE
public static final DateTimeFieldExpression.DateTimeField MINUTE
-
SECOND
public static final DateTimeFieldExpression.DateTimeField SECOND
-
TIMEZONE_HOUR
public static final DateTimeFieldExpression.DateTimeField TIMEZONE_HOUR
-
TIMEZONE_MINUTE
public static final DateTimeFieldExpression.DateTimeField TIMEZONE_MINUTE
-
TZOFFSET
public static final DateTimeFieldExpression.DateTimeField TZOFFSET
-
QUARTER
public static final DateTimeFieldExpression.DateTimeField QUARTER
-
WEEK
public static final DateTimeFieldExpression.DateTimeField WEEK
-
DOW
public static final DateTimeFieldExpression.DateTimeField DOW
-
MILLISECOND
public static final DateTimeFieldExpression.DateTimeField MILLISECOND
-
-
Method Detail
-
values
public static DateTimeFieldExpression.DateTimeField[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DateTimeFieldExpression.DateTimeField c : DateTimeFieldExpression.DateTimeField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DateTimeFieldExpression.DateTimeField valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-