DateFormatProvider 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 |
|---|---|
| public Set | getAvailableLanguageTags()
Implements sun. Returns a set of available language tags of a LocaleServiceProvider. |
| public Locale[] | Returns: An array of all locales for which this locale service provider can provide localized objects or names.Implements abstract java. Returns an array of all locales for which this locale service provider can provide localized objects or names. |
| public DateFormat | Returns: a date formatter.the given formatting style. Either one of
style, Locale DateFormat.,
DateFormat.,
DateFormat., or
DateFormat..the desired locale. locale)Implements abstract java. Returns a new |
| public DateFormat | Returns: a date/time formatter.the given date formatting style. Either one of
dateStyle, int DateFormat.,
DateFormat.,
DateFormat., or
DateFormat..the given time formatting style. Either one of
timeStyle, Locale DateFormat.,
DateFormat.,
DateFormat., or
DateFormat..the desired locale. locale)Implements abstract java. Returns a new |
| private DateFormat | |
| public DateFormat | Returns: a time formatter.the given formatting style. Either one of
style, Locale DateFormat.,
DateFormat.,
DateFormat., or
DateFormat..the desired locale. locale)Implements abstract java. Returns a new |
| public boolean | isSupportedLocale(Locale locale)
Overrides java. Returns |
| langtags | back to summary |
|---|---|
| private final Set<String> langtags | |
| type | back to summary |
|---|---|
| private final LocaleProviderAdapter. | |
| DateFormatProviderImpl | back to summary |
|---|---|
| public DateFormatProviderImpl(LocaleProviderAdapter. | |
| 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. Returns an array of all locales for which this locale service provider can provide localized objects or names. | |
| getDateInstance | back to summary |
|---|---|
| public DateFormat getDateInstance(int style, Locale locale) Implements abstract java. Returns a new
| |
| getDateTimeInstance | back to summary |
|---|---|
| public DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale) Implements abstract java. Returns a new
| |
| getInstance | back to summary |
|---|---|
| private DateFormat getInstance(int dateStyle, int timeStyle, Locale locale) | |
| getTimeInstance | back to summary |
|---|---|
| public DateFormat getTimeInstance(int style, Locale locale) Implements abstract java. Returns a new
| |
| isSupportedLocale | back to summary |
|---|---|
| public boolean isSupportedLocale(Locale locale) Overrides java. Doc from java. Returns The default implementation returns
| |