public interface NumberSymbolProvider
This SPI-interface enables the access to localized
number properties like zero digits and is instantiated via a
ServiceLoader-mechanism.
If there is no external NumberSymbolProvider then Time4J will
just delegate to the JDK.
ServiceLoader,
DecimalFormatSymbols.getZeroDigit()| Modifier and Type | Field and Description |
|---|---|
static NumberSymbolProvider |
DEFAULT
Default provider which delegates to standard JVM resources.
|
| Modifier and Type | Method and Description |
|---|---|
Locale[] |
getAvailableLocales()
Yields the supported languages.
|
char |
getDecimalSeparator(Locale locale)
Returns the localized decimal separator.
|
String |
getMinusSign(Locale locale)
Returns the localized minus sign.
|
char |
getZeroDigit(Locale locale)
Returns the localized zero digit.
|
static final NumberSymbolProvider DEFAULT
Default provider which delegates to standard JVM resources.
DecimalFormatSymbolsLocale[] getAvailableLocales()
Yields the supported languages.
char getZeroDigit(Locale locale)
Returns the localized zero digit.
locale - language and country settingchar getDecimalSeparator(Locale locale)
Returns the localized decimal separator.
locale - language and country settingCopyright © 2014–2015. All rights reserved.