public enum DateType extends Enum<DateType>
| Enum Constant and Description |
|---|
date_only |
datetime |
datetime_only |
time_only |
| Modifier and Type | Method and Description |
|---|---|
static DateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateType date_only
public static final DateType time_only
public static final DateType datetime_only
public static final DateType datetime
public static DateType[] values()
for (DateType c : DateType.values()) System.out.println(c);
public static DateType 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 © 2017. All rights reserved.