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_74(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_74(const(UChar)* isoCode, const(char)* locale, UErrorCode* status); - UBool
ucurr_unregister_74(UCurrRegistryKey key, UErrorCode* status); - const(UChar)*
ucurr_getName_74(const(UChar)* currency, const(char)* locale, UCurrNameStyle nameStyle, UBool* isChoiceFormat, int* len, UErrorCode* ec); - const(UChar)*
ucurr_getPluralName_74(const(UChar)* currency, const(char)* locale, UBool* isChoiceFormat, const(char)* pluralCount, int* len, UErrorCode* ec); - int
ucurr_getDefaultFractionDigits_74(const(UChar)* currency, UErrorCode* ec); - int
ucurr_getDefaultFractionDigitsForUsage_74(const(UChar)* currency, const UCurrencyUsage usage, UErrorCode* ec); - double
ucurr_getRoundingIncrement_74(const(UChar)* currency, UErrorCode* ec); - double
ucurr_getRoundingIncrementForUsage_74(const(UChar)* currency, const UCurrencyUsage usage, UErrorCode* ec); - enum
UCurrCurrencyType: int; -
UCURR_ALLUCURR_COMMONUCURR_UNCOMMONUCURR_DEPRECATEDUCURR_NON_DEPRECATED
- UEnumeration*
ucurr_openISOCurrencies_74(uint currType, UErrorCode* pErrorCode); - UBool
ucurr_isAvailable_74(const(UChar)* isoCode, UDate from, UDate to, UErrorCode* errorCode); - int
ucurr_countCurrencies_74(const(char)* locale, UDate date, UErrorCode* ec); - int
ucurr_forLocaleAndDate_74(const(char)* locale, UDate date, int index, UChar* buff, int buffCapacity, UErrorCode* ec); - UEnumeration*
ucurr_getKeywordValuesForLocale_74(const(char)* key, const(char)* locale, UBool commonlyUsed, UErrorCode* status); - int
ucurr_getNumericCode_74(const(UChar)* currency);