Uses of Class
java.text.DateFormat.Field
Packages that use DateFormat.Field
Package
Description
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
-
Uses of DateFormat.Field in java.text
Fields in java.text declared as DateFormat.FieldModifier and TypeFieldDescriptionstatic final DateFormat.FieldDateFormat.Field.AM_PMConstant identifying the time of day indicator (e.g.static final DateFormat.FieldDateFormat.Field.DAY_OF_MONTHConstant identifying the day of month field.static final DateFormat.FieldDateFormat.Field.DAY_OF_WEEKConstant identifying the day of week field.static final DateFormat.FieldDateFormat.Field.DAY_OF_WEEK_IN_MONTHConstant identifying the day of week field.static final DateFormat.FieldDateFormat.Field.DAY_OF_YEARConstant identifying the day of year field.static final DateFormat.FieldDateFormat.Field.ERAConstant identifying the era field.static final DateFormat.FieldDateFormat.Field.HOUR_OF_DAY0Constant identifying the hour of day field, where the legal values are 0 to 23.static final DateFormat.FieldDateFormat.Field.HOUR_OF_DAY1Constant identifying the hour of day field, where the legal values are 1 to 24.static final DateFormat.FieldDateFormat.Field.HOUR0Constant identifying the hour field, where the legal values are 0 to 11.static final DateFormat.FieldDateFormat.Field.HOUR1Constant identifying the hour field, where the legal values are 1 to 12.static final DateFormat.FieldDateFormat.Field.MILLISECONDConstant identifying the millisecond field.static final DateFormat.FieldDateFormat.Field.MINUTEConstant identifying the minute field.static final DateFormat.FieldDateFormat.Field.MONTHConstant identifying the month field.static final DateFormat.FieldDateFormat.Field.SECONDConstant identifying the second field.static final DateFormat.FieldDateFormat.Field.TIME_ZONEConstant identifying the time zone field.static final DateFormat.FieldDateFormat.Field.WEEK_OF_MONTHConstant identifying the week of month field.static final DateFormat.FieldDateFormat.Field.WEEK_OF_YEARConstant identifying the week of year field.static final DateFormat.FieldDateFormat.Field.YEARConstant identifying the year field.Methods in java.text that return DateFormat.FieldModifier and TypeMethodDescriptionstatic DateFormat.FieldDateFormat.Field.ofCalendarField(int calendarField) Returns theFieldconstant that corresponds to theCalendarconstantcalendarField.