public static enum CurrentTime.Type extends Enum<CurrentTime.Type>
| Enum Constant and Description |
|---|
DATE |
LOCALTIME |
LOCALTIMESTAMP |
TIME |
TIMESTAMP |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static CurrentTime.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CurrentTime.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurrentTime.Type TIME
public static final CurrentTime.Type DATE
public static final CurrentTime.Type TIMESTAMP
public static final CurrentTime.Type LOCALTIME
public static final CurrentTime.Type LOCALTIMESTAMP
public static CurrentTime.Type[] values()
for (CurrentTime.Type c : CurrentTime.Type.values()) System.out.println(c);
public static CurrentTime.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 nullpublic String getName()
Copyright © 2012-2015. All Rights Reserved.