| Package | Description | 
|---|---|
| java.text | Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages. | 
| Modifier and Type | Field and Description | 
|---|---|
| static DateFormat.Field | DateFormat.Field. AM_PMConstant identifying the time of day indicator
 (e.g. | 
| static DateFormat.Field | DateFormat.Field. DAY_OF_MONTHConstant identifying the day of month field. | 
| static DateFormat.Field | DateFormat.Field. DAY_OF_WEEKConstant identifying the day of week field. | 
| static DateFormat.Field | DateFormat.Field. DAY_OF_WEEK_IN_MONTHConstant identifying the day of week field. | 
| static DateFormat.Field | DateFormat.Field. DAY_OF_YEARConstant identifying the day of year field. | 
| static DateFormat.Field | DateFormat.Field. ERAConstant identifying the era field. | 
| static DateFormat.Field | DateFormat.Field. HOUR_OF_DAY0Constant identifying the hour of day field, where the legal values
 are 0 to 23. | 
| static DateFormat.Field | DateFormat.Field. HOUR_OF_DAY1Constant identifying the hour of day field, where the legal values
 are 1 to 24. | 
| static DateFormat.Field | DateFormat.Field. HOUR0Constant identifying the hour field, where the legal values are
 0 to 11. | 
| static DateFormat.Field | DateFormat.Field. HOUR1Constant identifying the hour field, where the legal values are
 1 to 12. | 
| static DateFormat.Field | DateFormat.Field. MILLISECONDConstant identifying the millisecond field. | 
| static DateFormat.Field | DateFormat.Field. MINUTEConstant identifying the minute field. | 
| static DateFormat.Field | DateFormat.Field. MONTHConstant identifying the month field. | 
| static DateFormat.Field | DateFormat.Field. SECONDConstant identifying the second field. | 
| static DateFormat.Field | DateFormat.Field. TIME_ZONEConstant identifying the time zone field. | 
| static DateFormat.Field | DateFormat.Field. WEEK_OF_MONTHConstant identifying the week of month field. | 
| static DateFormat.Field | DateFormat.Field. WEEK_OF_YEARConstant identifying the week of year field. | 
| static DateFormat.Field | DateFormat.Field. YEARConstant identifying the year field. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DateFormat.Field | DateFormat.Field. ofCalendarField(int calendarField)Returns the  Fieldconstant that corresponds to
 theCalendarconstantcalendarField. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.