public abstract class DateFormatSymbolsProvider extends LocaleServiceProvider
DateFormatSymbols
类的实例的服务提供者的抽象类。
Modifier | Constructor and Description |
---|---|
protected |
DateFormatSymbolsProvider()
唯一的构造函数。
|
Modifier and Type | Method and Description |
---|---|
abstract DateFormatSymbols |
getInstance(Locale locale)
返回指定区域设置的新的
DateFormatSymbols 实例。
|
getAvailableLocales, isSupportedLocale
protected DateFormatSymbolsProvider()
public abstract DateFormatSymbols getInstance(Locale locale)
DateFormatSymbols
实例。
locale
- 所需的语言环境
DateFormatSymbols
例子。
NullPointerException
- 如果
locale
为空
IllegalArgumentException
- 如果
locale
不是从
getAvailableLocales()
返回的语言环境之一。
DateFormatSymbols.getInstance(java.util.Locale)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.