public static enum DateLQLBuilder.DatePattern extends java.lang.Enum<DateLQLBuilder.DatePattern>
| Enum Constant and Description |
|---|
DAY_OF_MONTH |
HOUR |
MINUTE |
MONTH |
SECOND |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static DateLQLBuilder.DatePattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DateLQLBuilder.DatePattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateLQLBuilder.DatePattern YEAR
public static final DateLQLBuilder.DatePattern MONTH
public static final DateLQLBuilder.DatePattern DAY_OF_MONTH
public static final DateLQLBuilder.DatePattern HOUR
public static final DateLQLBuilder.DatePattern MINUTE
public static final DateLQLBuilder.DatePattern SECOND
public static DateLQLBuilder.DatePattern[] values()
for (DateLQLBuilder.DatePattern c : DateLQLBuilder.DatePattern.values()) System.out.println(c);
public static DateLQLBuilder.DatePattern 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 java.lang.String getValue()
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.