java.time.format.DateTimeFormatterPatternProvider class
| 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 namesImplements abstract java. Returns an array of all locales for which this locale service provider can provide localized objects or names. |
| public String | getDateTimeFormatterPattern(FormatStyle dateStyle, FormatStyle timeStyle, String calType, Locale locale)
Implements abstract java. Returns the localized pattern string for the date style, time style, calendar type, and locale. |
| public String | getDateTimeFormatterPattern(String requestedTemplate, String calType, Locale locale)
Implements abstract java. Returns the localized pattern string for the requested template, calendar type, and locale. |
| public boolean | isSupportedLocale(Locale locale)
Overrides java. Returns |
| langtags | back to summary |
|---|---|
| private final Set<String> langtags | |
| type | back to summary |
|---|---|
| private final LocaleProviderAdapter. | |
| DateTimeFormatterPatternProviderImpl | back to summary |
|---|---|
| public DateTimeFormatterPatternProviderImpl(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. | |
| getDateTimeFormatterPattern | back to summary |
|---|---|
| public String getDateTimeFormatterPattern(FormatStyle dateStyle, FormatStyle timeStyle, String calType, Locale locale) Implements abstract java. Doc from java. Returns the localized pattern string for the date style,
time style, calendar type, and locale. Either
| |
| getDateTimeFormatterPattern | back to summary |
|---|---|
| public String getDateTimeFormatterPattern(String requestedTemplate, String calType, Locale locale) Implements abstract java. Doc from java. Returns the localized pattern string for the requested template,
calendar type, and locale. The
| |
| isSupportedLocale | back to summary |
|---|---|
| public boolean isSupportedLocale(Locale locale) Overrides java. Doc from java. Returns The default implementation returns
| |