public static enum CalendarConfig.DateFormatFieldsAdapter.DateTimeField extends java.lang.Enum<CalendarConfig.DateFormatFieldsAdapter.DateTimeField>
Enum Constant and Description |
---|
AM_PM_FIELD
Represents the AM/PM field of a 12-hour clock.
|
DATE_FIELD
Represents the day of month field.
|
DAY_OF_WEEK_FIELD
Represents the day of week field.
|
HOUR_OF_DAY0_FIELD
Represents the hour field of the zero-based 24-hour clock.
|
HOUR_OF_DAY1_FIELD
Represents the hour field of the one-based 24-hour clock.
|
HOUR0_FIELD
Represents the hour field of the zero-based 12-hour clock.
|
HOUR1_FIELD
Represents the hour field of the one-based 12-hour clock.
|
MINUTE_FIELD
Represents the minute field.
|
MONTH_FIELD
Represents the month field.
|
SECOND_FIELD
Represents the second field.
|
YEAR_FIELD
Represents the year field.
|
Modifier and Type | Field and Description |
---|---|
private java.time.temporal.ChronoField |
chronoField
ChronoField used to display date and time
|
private int |
dateFormat
DateFormat fields used to display date and time
|
Modifier and Type | Method and Description |
---|---|
java.time.temporal.ChronoField |
getChronoField()
Returns the ChronoField member corresponding to this enum member.
|
int |
getDateFormat()
Returns the DateFormat constant corresponding to this enum member.
|
static CalendarConfig.DateFormatFieldsAdapter.DateTimeField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CalendarConfig.DateFormatFieldsAdapter.DateTimeField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField DATE_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField MONTH_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField YEAR_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField DAY_OF_WEEK_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField HOUR_OF_DAY0_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField HOUR_OF_DAY1_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField HOUR0_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField HOUR1_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField AM_PM_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField MINUTE_FIELD
public static final CalendarConfig.DateFormatFieldsAdapter.DateTimeField SECOND_FIELD
private final int dateFormat
private final java.time.temporal.ChronoField chronoField
public static CalendarConfig.DateFormatFieldsAdapter.DateTimeField[] values()
for (CalendarConfig.DateFormatFieldsAdapter.DateTimeField c : CalendarConfig.DateFormatFieldsAdapter.DateTimeField.values()) System.out.println(c);
public static CalendarConfig.DateFormatFieldsAdapter.DateTimeField 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 nullpublic int getDateFormat()
public java.time.temporal.ChronoField getChronoField()