bindbc.icu.bindings.ucurr

ucurr.h
C API: Encapsulates information about a currency.
License: BSL-1.0.
enum UCurrencyUsage: int;
UCURR_USAGE_STANDARD
UCURR_USAGE_CASH
int ucurr_forLocale_70(const(char)* locale, UChar* buff, int buffCapacity, UErrorCode* ec);
enum UCurrNameStyle: int;
UCURR_SYMBOL_NAME
UCURR_LONG_NAME
UCURR_NARROW_SYMBOL_NAME
UCURR_FORMAL_SYMBOL_NAME
UCURR_VARIANT_SYMBOL_NAME
alias UCurrRegistryKey = const(void)*;
UCurrRegistryKey ucurr_register_70(const(UChar)* isoCode, const(char)* locale, UErrorCode* status);
UBool ucurr_unregister_70(UCurrRegistryKey key, UErrorCode* status);
const(UChar)* ucurr_getName_70(const(UChar)* currency, const(char)* locale, UCurrNameStyle nameStyle, UBool* isChoiceFormat, int* len, UErrorCode* ec);
const(UChar)* ucurr_getPluralName_70(const(UChar)* currency, const(char)* locale, UBool* isChoiceFormat, const(char)* pluralCount, int* len, UErrorCode* ec);
int ucurr_getDefaultFractionDigits_70(const(UChar)* currency, UErrorCode* ec);
int ucurr_getDefaultFractionDigitsForUsage_70(const(UChar)* currency, const UCurrencyUsage usage, UErrorCode* ec);
double ucurr_getRoundingIncrement_70(const(UChar)* currency, UErrorCode* ec);
double ucurr_getRoundingIncrementForUsage_70(const(UChar)* currency, const UCurrencyUsage usage, UErrorCode* ec);
enum UCurrCurrencyType: int;
UCURR_ALL
UCURR_COMMON
UCURR_UNCOMMON
UCURR_DEPRECATED
UCURR_NON_DEPRECATED
UEnumeration* ucurr_openISOCurrencies_70(uint currType, UErrorCode* pErrorCode);
UBool ucurr_isAvailable_70(const(UChar)* isoCode, UDate from, UDate to, UErrorCode* errorCode);
int ucurr_countCurrencies_70(const(char)* locale, UDate date, UErrorCode* ec);
int ucurr_forLocaleAndDate_70(const(char)* locale, UDate date, int index, UChar* buff, int buffCapacity, UErrorCode* ec);
UEnumeration* ucurr_getKeywordValuesForLocale_70(const(char)* key, const(char)* locale, UBool commonlyUsed, UErrorCode* status);
int ucurr_getNumericCode_70(const(UChar)* currency);