mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-20284 Updating docs on mutability of currency fraction digits.
This commit is contained in:
parent
68168a6067
commit
7a4d70c634
2 changed files with 28 additions and 0 deletions
|
@ -208,6 +208,13 @@ ucurr_getPluralName(const UChar* currency,
|
|||
* Returns the number of the number of fraction digits that should
|
||||
* be displayed for the given currency.
|
||||
* This is equivalent to ucurr_getDefaultFractionDigitsForUsage(currency,UCURR_USAGE_STANDARD,ec);
|
||||
*
|
||||
* Important: The number of fraction digits for a given currency is NOT
|
||||
* guaranteed to be constant across versions of ICU or CLDR. For example,
|
||||
* do NOT use this value as a mechanism for deciding the magnitude used
|
||||
* to store currency values in a database. You should use this value for
|
||||
* display purposes only.
|
||||
*
|
||||
* @param currency null-terminated 3-letter ISO 4217 code
|
||||
* @param ec input-output error code
|
||||
* @return a non-negative number of fraction digits to be
|
||||
|
@ -221,6 +228,13 @@ ucurr_getDefaultFractionDigits(const UChar* currency,
|
|||
/**
|
||||
* Returns the number of the number of fraction digits that should
|
||||
* be displayed for the given currency with usage.
|
||||
*
|
||||
* Important: The number of fraction digits for a given currency is NOT
|
||||
* guaranteed to be constant across versions of ICU or CLDR. For example,
|
||||
* do NOT use this value as a mechanism for deciding the magnitude used
|
||||
* to store currency values in a database. You should use this value for
|
||||
* display purposes only.
|
||||
*
|
||||
* @param currency null-terminated 3-letter ISO 4217 code
|
||||
* @param usage enum usage for the currency
|
||||
* @param ec input-output error code
|
||||
|
|
|
@ -840,6 +840,13 @@ public class Currency extends MeasureUnit {
|
|||
* Returns the number of the number of fraction digits that should
|
||||
* be displayed for this currency.
|
||||
* This is equivalent to getDefaultFractionDigits(CurrencyUsage.STANDARD);
|
||||
*
|
||||
* Important: The number of fraction digits for a given currency is NOT
|
||||
* guaranteed to be constant across versions of ICU or CLDR. For example,
|
||||
* do NOT use this value as a mechanism for deciding the magnitude used
|
||||
* to store currency values in a database. You should use this value for
|
||||
* display purposes only.
|
||||
*
|
||||
* @return a non-negative number of fraction digits to be
|
||||
* displayed
|
||||
* @stable ICU 2.2
|
||||
|
@ -851,6 +858,13 @@ public class Currency extends MeasureUnit {
|
|||
/**
|
||||
* Returns the number of the number of fraction digits that should
|
||||
* be displayed for this currency with Usage.
|
||||
*
|
||||
* Important: The number of fraction digits for a given currency is NOT
|
||||
* guaranteed to be constant across versions of ICU or CLDR. For example,
|
||||
* do NOT use this value as a mechanism for deciding the magnitude used
|
||||
* to store currency values in a database. You should use this value for
|
||||
* display purposes only.
|
||||
*
|
||||
* @param Usage the usage of currency(Standard or Cash)
|
||||
* @return a non-negative number of fraction digits to be
|
||||
* displayed
|
||||
|
|
Loading…
Add table
Reference in a new issue