Typedefs |
typedef const void * | UCurrRegistryKey |
typedef enum UCurrNameStyle | UCurrNameStyle |
| Selector constants for ucurr_getName(). More...
|
Enumerations |
enum | UCurrNameStyle { UCURR_SYMBOL_NAME,
UCURR_LONG_NAME
} |
| Selector constants for ucurr_getName(). More...
|
Functions |
int32_t | ucurr_forLocale (const char *locale, UChar *buff, int32_t buffCapacity, UErrorCode *ec) |
| Finds a currency code for the given locale. More...
|
UCurrRegistryKey | ucurr_register (const UChar *isoCode, const char *locale, UErrorCode *status) |
| Register an (existing) ISO 4217 currency code for the given locale. More...
|
UBool | ucurr_unregister (UCurrRegistryKey key, UErrorCode *status) |
| Unregister the previously-registered currency definitions using the URegistryKey returned from ucurr_register. More...
|
const UChar * | ucurr_getName (const UChar *currency, const char *locale, UCurrNameStyle nameStyle, UBool *isChoiceFormat, int32_t *len, UErrorCode *ec) |
| Returns the display name for the given currency in the given locale. More...
|
int32_t | ucurr_getDefaultFractionDigits (const UChar *currency) |
| Returns the number of the number of fraction digits that should be displayed for the given currency. More...
|
double | ucurr_getRoundingIncrement (const UChar *currency) |
| Returns the rounding increment for the given currency, or 0.0 if no rounding is done by the currency. More...
|