public enum TimestampField extends Enum<TimestampField>
Enum Constant and Description |
---|
Day
Include day in the timestamp
|
DayOfWeek
Include day of week in the timestamp
|
Hour
Include hour in the timestamp
|
Minute
Include minute in the timestamp
|
Month
Include month in the timestamp
|
NotUsed
Not used
|
Second
Include second in the timestamp
|
SecondWithMillisecond
Include second following by millisecond in the timestamp (see remarks)
|
Year
Include year in the timestamp
|
Modifier and Type | Method and Description |
---|---|
static TimestampField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimestampField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimestampField NotUsed
public static final TimestampField Year
public static final TimestampField Month
public static final TimestampField Day
public static final TimestampField DayOfWeek
public static final TimestampField Hour
public static final TimestampField Minute
public static final TimestampField Second
public static final TimestampField SecondWithMillisecond
public static TimestampField[] values()
for (TimestampField c : TimestampField.values()) System.out.println(c);
public static TimestampField 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 null