Home
last modified time | relevance | path

Searched refs:CurrencyUsage (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyMetaInfo.java16 import com.ibm.icu.util.Currency.CurrencyUsage;
50 return currencyDigits(isoCode, CurrencyUsage.STANDARD); in currencyDigits()
54 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyPurpose) { in currencyDigits()
60 if (currencyPurpose == CurrencyUsage.CASH) { in currencyDigits()
62 } else if (currencyPurpose == CurrencyUsage.STANDARD) { in currencyDigits()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java15 import com.ibm.icu.util.Currency.CurrencyUsage;
542 return currencyDigits(isoCode, CurrencyUsage.STANDARD); in currencyDigits()
553 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) { in currencyDigits()
DNumberFormat.java26 import com.ibm.icu.util.Currency.CurrencyUsage;
1406 f.setCurrencyUsage(CurrencyUsage.CASH); in createInstance()
DDecimalFormat.java32 import com.ibm.icu.util.Currency.CurrencyUsage;
5256 public void setCurrencyUsage(CurrencyUsage newUsage) { in setCurrencyUsage()
5277 public CurrencyUsage getCurrencyUsage() { in getCurrencyUsage()
5437 currencyUsage = CurrencyUsage.STANDARD; in readObject()
5750 private CurrencyUsage currencyUsage = CurrencyUsage.STANDARD;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java97 public enum CurrencyUsage{ enum in Currency
776 return getDefaultFractionDigits(CurrencyUsage.STANDARD); in getDefaultFractionDigits()
788 public int getDefaultFractionDigits(CurrencyUsage Usage) { in getDefaultFractionDigits()
802 return getRoundingIncrement(CurrencyUsage.STANDARD); in getRoundingIncrement()
813 public double getRoundingIncrement(CurrencyUsage Usage) { in getRoundingIncrement()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java3636 Currency.CurrencyUsage.STANDARD);
3637 custom.setCurrencyUsage(Currency.CurrencyUsage.CASH);
3638 …ertEquals("Test Currency Context Purpose", custom.getCurrencyUsage(), Currency.CurrencyUsage.CASH);
3644 …ertEquals("Test Currency Context Purpose", custom.getCurrencyUsage(), Currency.CurrencyUsage.CASH);
3664 fmt.setCurrencyUsage(Currency.CurrencyUsage.CASH);
3682 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH);