Uses of Class
java.text.DateFormat.Field
| Package | Description |
|---|---|
| java.text |
-
Uses of DateFormat.Field in java.text
Fields in java.text declared as DateFormat.Field Modifier and Type Field Description static DateFormat.FieldDateFormat.Field. AM_PMMarks the time indicator part of a date.static DateFormat.FieldDateFormat.Field. DAY_OF_MONTHMarks the day of the month part of a date.static DateFormat.FieldDateFormat.Field. DAY_OF_WEEKMarks the day of the week part of a date.static DateFormat.FieldDateFormat.Field. DAY_OF_WEEK_IN_MONTHMarks the day of the week in the month part of a date.static DateFormat.FieldDateFormat.Field. DAY_OF_YEARMarks the day of the year part of a date.static DateFormat.FieldDateFormat.Field. ERAMarks the era part of a date.static DateFormat.FieldDateFormat.Field. HOUR_OF_DAY0Marks the hour of the day part of a date (0-11).static DateFormat.FieldDateFormat.Field. HOUR_OF_DAY1Marks the hour of the day part of a date (1-12).static DateFormat.FieldDateFormat.Field. HOUR0Marks the hour part of a date (0-11).static DateFormat.FieldDateFormat.Field. HOUR1Marks the hour part of a date (1-12).static DateFormat.FieldDateFormat.Field. MILLISECONDMarks the millisecond part of a time.static DateFormat.FieldDateFormat.Field. MINUTEMarks the minute part of a time.static DateFormat.FieldDateFormat.Field. MONTHMarks the month part of a date.static DateFormat.FieldDateFormat.Field. SECONDMarks the second part of a time.static DateFormat.FieldDateFormat.Field. TIME_ZONEMarks the time zone part of a date.static DateFormat.FieldDateFormat.Field. WEEK_OF_MONTHMarks the week of the month part of a date.static DateFormat.FieldDateFormat.Field. WEEK_OF_YEARMarks the week of the year part of a date.static DateFormat.FieldDateFormat.Field. YEARMarks the year part of a date.Methods in java.text that return DateFormat.Field Modifier and Type Method Description static DateFormat.FieldDateFormat.Field. ofCalendarField(int calendarField)Returns theDateFormat.Fieldinstance for the given calendar field.