public enum PGDateField extends Enum<PGDateField>
Enum Constant and Description |
---|
CENTURY |
DAY |
DECADE |
DOW |
DOY |
EPOCH |
HOUR |
ISODOW |
ISOYEAR |
MICROSECONDS |
MILLENNIUM |
MILLISECONDS |
MINUTE |
MONTH |
QUARTER |
SECOND |
TIMEZONE |
TIMEZONE_HOUR |
TIMEZONE_MINUTE |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
static PGDateField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PGDateField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PGDateField CENTURY
public static final PGDateField DAY
public static final PGDateField DECADE
public static final PGDateField DOW
public static final PGDateField DOY
public static final PGDateField EPOCH
public static final PGDateField HOUR
public static final PGDateField ISODOW
public static final PGDateField ISOYEAR
public static final PGDateField MICROSECONDS
public static final PGDateField MILLENNIUM
public static final PGDateField MILLISECONDS
public static final PGDateField MINUTE
public static final PGDateField MONTH
public static final PGDateField QUARTER
public static final PGDateField SECOND
public static final PGDateField TIMEZONE
public static final PGDateField TIMEZONE_HOUR
public static final PGDateField TIMEZONE_MINUTE
public static final PGDateField WEEK
public static final PGDateField YEAR
public static PGDateField[] values()
for (PGDateField c : PGDateField.values()) System.out.println(c);
public static PGDateField 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 © 2013–2017 Alibaba Group. All rights reserved.