CurrencyPluralInfo
public
class
CurrencyPluralInfo
extends Object
implements
Cloneable,
Serializable
| java.lang.Object | |
| ↳ | android.icu.text.CurrencyPluralInfo |
This class represents the information needed by DecimalFormat to format currency plural, such as "3.00 US dollars" or "1.00 US dollar". DecimalFormat creates for itself an instance of CurrencyPluralInfo from its locale data. If you need to change any of these symbols, you can get the CurrencyPluralInfo object from your DecimalFormat and modify it. Following are the information needed for currency plural format and parse: locale information, plural rule of the locale, currency plural pattern of the locale.
Summary
Public constructors | |
|---|---|
CurrencyPluralInfo()
Create a CurrencyPluralInfo object for the default |
|
CurrencyPluralInfo(ULocale locale)
Create a CurrencyPluralInfo object for the given locale. |
|
CurrencyPluralInfo(Locale locale)
Create a CurrencyPluralInfo object for the given locale. |
|
Public methods | |
|---|---|