bindbc.icu.bindings.ucurr
ucurr.h
C API: Encapsulates information about a currency.
License:
BSL-1.0.
- enum
UCurrencyUsage: int; -
UCURR_USAGE_STANDARDUCURR_USAGE_CASH
- int
ucurr_forLocale_78(const(char)* locale, UChar* buff, int buffCapacity, UErrorCode* ec); - enum
UCurrNameStyle: int; -
UCURR_SYMBOL_NAMEUCURR_LONG_NAMEUCURR_NARROW_SYMBOL_NAMEUCURR_FORMAL_SYMBOL_NAMEUCURR_VARIANT_SYMBOL_NAME
- alias
UCurrRegistryKey= const(void)*; - UCurrRegistryKey
ucurr_register_78(const(UChar)* isoCode, const(char)* locale, UErrorCode* status); - UBool
ucurr_unregister_78(UCurrRegistryKey key, UErrorCode* status); - const(UChar)*
ucurr_getName_78(const(UChar)* currency, const(char)* locale, UCurrNameStyle nameStyle, UBool* isChoiceFormat, int* len, UErrorCode* ec); - const(UChar)*
ucurr_getPluralName_78(const(UChar)* currency, const(char)* locale, UBool* isChoiceFormat, const(char)* pluralCount, int* len, UErrorCode* ec); - int
ucurr_getDefaultFractionDigits_78(const(UChar)* currency, UErrorCode* ec); - int
ucurr_getDefaultFractionDigitsForUsage_78(const(UChar)* currency, const UCurrencyUsage usage, UErrorCode* ec); - double
ucurr_getRoundingIncrement_78(const(UChar)* currency, UErrorCode* ec); - double
ucurr_getRoundingIncrementForUsage_78(const(UChar)* currency, const UCurrencyUsage usage, UErrorCode* ec); - enum
UCurrCurrencyType: int; -
UCURR_ALLUCURR_COMMONUCURR_UNCOMMONUCURR_DEPRECATEDUCURR_NON_DEPRECATED
- UEnumeration*
ucurr_openISOCurrencies_78(uint currType, UErrorCode* pErrorCode); - UBool
ucurr_isAvailable_78(const(UChar)* isoCode, UDate from, UDate to, UErrorCode* errorCode); - int
ucurr_countCurrencies_78(const(char)* locale, UDate date, UErrorCode* ec); - int
ucurr_forLocaleAndDate_78(const(char)* locale, UDate date, int index, UChar* buff, int buffCapacity, UErrorCode* ec); - UEnumeration*
ucurr_getKeywordValuesForLocale_78(const(char)* key, const(char)* locale, UBool commonlyUsed, UErrorCode* status); - int
ucurr_getNumericCode_78(const(UChar)* currency);