public enum DateField extends java.lang.Enum<DateField>
| Enum Constant | Description |
|---|---|
AMPM |
|
DAY_OF_MONTH |
|
DAY_OF_WEEK |
|
DAY_OF_YEAR |
|
HOUR_OF_DAY |
|
MILLISECOND |
|
MILLISECOND_OF_DAY |
|
MILLISECOND_OF_YEAR |
|
MILLISECONDS |
|
MILLISECONDSREAL |
|
MINUTE_OF_HOUR |
|
MONTH |
|
SECOND_OF_MINUTE |
|
SUMMERTIME |
|
TIMEZONE |
|
WEEK_OF_MONTH |
|
WEEK_OF_YEAR |
|
WINTERTIME |
|
YEAR |
| Modifier and Type | Method | Description |
|---|---|---|
static DateField |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DateField[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateField MILLISECOND
public static final DateField MILLISECONDS
public static final DateField MILLISECONDSREAL
public static final DateField WINTERTIME
public static final DateField SUMMERTIME
public static final DateField MILLISECOND_OF_DAY
public static final DateField MILLISECOND_OF_YEAR
public static final DateField SECOND_OF_MINUTE
public static final DateField MINUTE_OF_HOUR
public static final DateField HOUR_OF_DAY
public static final DateField AMPM
public static final DateField TIMEZONE
public static final DateField DAY_OF_WEEK
public static final DateField DAY_OF_MONTH
public static final DateField DAY_OF_YEAR
public static final DateField WEEK_OF_MONTH
public static final DateField WEEK_OF_YEAR
public static final DateField MONTH
public static final DateField YEAR
public static DateField[] values()
for (DateField c : DateField.values()) System.out.println(c);
public static DateField valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null