public abstract class CalendarNameProvider extends LocaleServiceProvider
Calendar
field values.
Calendar types are used to specify calendar systems for which the getDisplayName
and getDisplayNames
methods provide
calendar field value names. See Calendar.getCalendarType()
for details.
Calendar Fields
Calendar fields are specified with the constants defined in Calendar
. The following are calendar-common fields and their values to be
supported for each calendar system.
Field | Value | Description |
---|---|---|
Calendar.MONTH |
Calendar.JANUARY to Calendar.UNDECIMBER |
Month numbering is 0-based (e.g., 0 - January, ..., 11 - December). Some calendar systems have 13 months. Month names need to be supported in both the formatting and stand-alone forms if required by the supported locales. If there's no distinction in the two forms, the same names should be returned in both of the forms. |
Calendar.DAY_OF_WEEK |