CalendarDataProvider class for the JRE LocaleProviderAdapter.
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private final LocaleProviderAdapter. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public Set | getAvailableLanguageTags()
Implements sun. Returns a set of available language tags of a LocaleServiceProvider. |
| public Locale[] | getAvailableLocales()
Implements abstract java. Returns an array of all locales for which this locale service provider can provide localized objects or names. |
| public int | getFirstDayOfWeek(Locale locale)
Implements abstract java. Returns the first day of a week in the given |
| public int | getMinimalDaysInFirstWeek(Locale locale)
Implements abstract java. Returns the minimal number of days required in the first week of a year. |
| langtags | back to summary |
|---|---|
| private final Set<String> langtags | |
| type | back to summary |
|---|---|
| private final LocaleProviderAdapter. | |
| CalendarDataProviderImpl | back to summary |
|---|---|
| public CalendarDataProviderImpl(LocaleProviderAdapter. | |
| convertToCalendarData | back to summary |
|---|---|
| private int convertToCalendarData(String src) | |
| getAvailableLanguageTags | back to summary |
|---|---|
| public Set Implements sun. Doc from sun. Returns a set of available language tags of a LocaleServiceProvider.
Note that the returned set doesn't contain the language tag for
| |
| getAvailableLocales | back to summary |
|---|---|
| public Locale[] getAvailableLocales() Implements abstract java. Doc from java. Returns an array of all locales for which this locale service provider
can provide localized objects or names.
This information is used to compose The array returned by this method should not include two or more
| |
| getFirstDayOfWeek | back to summary |
|---|---|
| public int getFirstDayOfWeek(Locale locale) Implements abstract java. Doc from java. Returns the first day of a week in the given
| |
| getMinimalDaysInFirstWeek | back to summary |
|---|---|
| public int getMinimalDaysInFirstWeek(Locale locale) Implements abstract java. Doc from java. Returns the minimal number of days required in the first week of a
year. This information is required by
| |