A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/ucurr_8h_source.html below:

ICU 77.1: common/unicode/ucurr.h Source File

35 #if !UCONFIG_NO_FORMATTING 55 #ifndef U_HIDE_DEPRECATED_API 139 #if !UCONFIG_NO_SERVICE 196  UBool

* isChoiceFormat,

220  UBool

* isChoiceFormat,

221  const char

* pluralCount,

427

int32_t buffCapacity,

U_CAPI int32_t ucurr_forLocaleAndDate(const char *locale, UDate date, int32_t index, UChar *buff, int32_t buffCapacity, UErrorCode *ec)

Finds a currency code for the given locale and date.

UCurrCurrencyType

Selector constants for ucurr_openCurrencies().

@ UCURR_UNCOMMON

Select ISO-4217 uncommon currency codes.

@ UCURR_NON_DEPRECATED

Select only non-deprecated ISO-4217 codes.

@ UCURR_ALL

Select all ISO-4217 currency codes.

@ UCURR_DEPRECATED

Select only deprecated ISO-4217 codes.

@ UCURR_COMMON

Select only ISO-4217 commonly used currency codes.

const void * UCurrRegistryKey

U_CAPI UCurrRegistryKey ucurr_register(const UChar *isoCode, const char *locale, UErrorCode *status)

Register an (existing) ISO 4217 currency code for the given locale.

U_CAPI double ucurr_getRoundingIncrementForUsage(const UChar *currency, const UCurrencyUsage usage, UErrorCode *ec)

Returns the rounding increment for the given currency, or 0.0 if no rounding is done by the currency ...

U_CAPI double ucurr_getRoundingIncrement(const UChar *currency, UErrorCode *ec)

Returns the rounding increment for the given currency, or 0.0 if no rounding is done by the currency.

U_CAPI int32_t ucurr_getNumericCode(const UChar *currency)

Returns the ISO 4217 numeric code for the currency.

U_CAPI UEnumeration * ucurr_getKeywordValuesForLocale(const char *key, const char *locale, UBool commonlyUsed, UErrorCode *status)

Given a key and a locale, returns an array of string values in a preferred order that would make a di...

U_CAPI int32_t ucurr_getDefaultFractionDigitsForUsage(const UChar *currency, const UCurrencyUsage usage, UErrorCode *ec)

Returns the number of the number of fraction digits that should be displayed for the given currency w...

UCurrNameStyle

Selector constants for ucurr_getName().

@ UCURR_FORMAL_SYMBOL_NAME

Selector for getName() indicating the formal currency symbol.

@ UCURR_VARIANT_SYMBOL_NAME

Selector for getName() indicating the variant currency symbol.

@ UCURR_SYMBOL_NAME

Selector for ucurr_getName indicating a symbolic name for a currency, such as "$" for USD.

@ UCURR_NARROW_SYMBOL_NAME

Selector for getName() indicating the narrow currency symbol.

@ UCURR_LONG_NAME

Selector for ucurr_getName indicating the long name for a currency, such as "US Dollar" for USD.

U_CAPI int32_t ucurr_getDefaultFractionDigits(const UChar *currency, UErrorCode *ec)

Returns the number of the number of fraction digits that should be displayed for the given currency.

U_CAPI UEnumeration * ucurr_openISOCurrencies(uint32_t currType, UErrorCode *pErrorCode)

Provides a UEnumeration object for listing ISO-4217 codes.

U_CAPI int32_t ucurr_forLocale(const char *locale, UChar *buff, int32_t buffCapacity, UErrorCode *ec)

Finds a currency code for the given locale.

U_CAPI int32_t ucurr_countCurrencies(const char *locale, UDate date, UErrorCode *ec)

Finds the number of valid currency codes for the given locale and date.

U_CAPI UBool ucurr_isAvailable(const UChar *isoCode, UDate from, UDate to, UErrorCode *errorCode)

Queries if the given ISO 4217 3-letter code is available on the specified date range.

U_CAPI UBool ucurr_unregister(UCurrRegistryKey key, UErrorCode *status)

Unregister the previously-registered currency definitions using the URegistryKey returned from ucurr_...

U_CAPI const UChar * ucurr_getPluralName(const UChar *currency, const char *locale, UBool *isChoiceFormat, const char *pluralCount, int32_t *len, UErrorCode *ec)

Returns the plural name for the given currency in the given locale.

UCurrencyUsage

Currency Usage used for Decimal Format.

@ UCURR_USAGE_COUNT

One higher than the last enum UCurrencyUsage constant.

@ UCURR_USAGE_STANDARD

a setting to specify currency usage which determines currency digit and rounding for standard usage,...

@ UCURR_USAGE_CASH

a setting to specify currency usage which determines currency digit and rounding for cash usage,...

U_CAPI 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.

C API: String Enumeration.

struct UEnumeration UEnumeration

structure representing an enumeration object instance

#define INT32_MAX

The largest value a 32 bit signed integer can hold.

int8_t UBool

The ICU boolean type, a signed-byte integer.

#define U_CAPI

This is used to declare a function as a public ICU C API.

char16_t UChar

The base type for UTF-16 code units and pointers.

Basic definitions for ICU, for both C and C++ APIs.

UErrorCode

Standard ICU4C error code type, a substitute for exceptions.

double UDate

Date and Time data type.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4