|
| | CurrencyPluralInfo (UErrorCode &status) |
| | Create a CurrencyPluralInfo object for the default locale.
|
| |
| | CurrencyPluralInfo (const Locale &locale, UErrorCode &status) |
| | Create a CurrencyPluralInfo object for the given locale.
|
| |
| | CurrencyPluralInfo (const CurrencyPluralInfo &info) |
| | Copy constructor.
|
| |
| CurrencyPluralInfo & | operator= (const CurrencyPluralInfo &info) |
| | Assignment operator.
|
| |
| virtual | ~CurrencyPluralInfo () |
| | Destructor.
|
| |
| UBool | operator== (const CurrencyPluralInfo &info) const |
| | Equal operator.
|
| |
| UBool | operator!= (const CurrencyPluralInfo &info) const |
| | Not equal operator.
|
| |
| CurrencyPluralInfo * | clone () const |
| | Clone.
|
| |
| const PluralRules * | getPluralRules () const |
| | Gets plural rules of this locale, used for currency plural format.
|
| |
| UnicodeString & | getCurrencyPluralPattern (const UnicodeString &pluralCount, UnicodeString &result) const |
| | Given a plural count, gets currency plural pattern of this locale, used for currency plural format.
|
| |
| const Locale & | getLocale () const |
| | Get locale.
|
| |
| void | setPluralRules (const UnicodeString &ruleDescription, UErrorCode &status) |
| | Set plural rules.
|
| |
| void | setCurrencyPluralPattern (const UnicodeString &pluralCount, const UnicodeString &pattern, UErrorCode &status) |
| | Set currency plural pattern.
|
| |
| void | setLocale (const Locale &loc, UErrorCode &status) |
| | Set locale.
|
| |
| virtual UClassID | getDynamicClassID () const |
| | ICU "poor man's RTTI", returns a UClassID for the actual class.
|
| |
| virtual | ~UObject () |
| | Destructor.
|
| |
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.
- Stable:
- ICU 4.2
Definition at line 44 of file currpinf.h.