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