public abstract class DateFormatSymbolsProvider extends LocaleServiceProvider
DateFormatSymbols
class.Modifier | Constructor | Description |
---|---|---|
protected |
Sole constructor. |
Modifier and Type | Method | Description |
---|---|---|
abstract DateFormatSymbols |
getInstance |
Returns a new DateFormatSymbols instance for the specified locale. |
getAvailableLocales, isSupportedLocale
protected DateFormatSymbolsProvider()
public abstract DateFormatSymbols getInstance(Locale locale)
DateFormatSymbols
instance for the specified locale.locale
- the desired localeDateFormatSymbols
instance.NullPointerException
- if locale
is nullIllegalArgumentException
- if locale
isn't one of the locales returned from getAvailableLocales()
.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/text/spi/DateFormatSymbolsProvider.html