public enum DateType extends Enum<DateType>
| Enum Constant and Description |
|---|
Date
java.util.Date
|
SqlDate
java.sql.Date
|
SqlTime
java.sql.Time
|
SqlTimeStamp
java.sql.TimeStamp
|
| 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
public static final DateType SqlDate
public static final DateType SqlTimeStamp
public static final DateType SqlTime
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.