Home
last modified time | relevance | path

Searched refs:getCurrency (Results 1 – 25 of 63) sorted by relevance

123

/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDecimalFormatSymbolsTest.java72 Currency jdkCur = jdkDecfs.getCurrency(); in TestICUEquivalent()
73 com.ibm.icu.util.Currency icuCur = icuDecfs.getCurrency(); in TestICUEquivalent()
117 decfs.setCurrency(decfsEnUS.getCurrency()); in TestSetSymbols()
135 Currency cur = decfs.getCurrency(); in TestSetSymbols()
136 Currency curEnUS = decfsEnUS.getCurrency(); in TestSetSymbols()
171 String jdkCurrencyCode = jdkDecfs.getCurrency().getCurrencyCode(); in TestKeywords()
172 String icuCurrencyCode = icuDecfs.getCurrency().getCurrencyCode(); in TestKeywords()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dcurramt.h114 inline const CurrencyUnit& getCurrency() const;
123 inline const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency() function
128 return getCurrency().getISOCurrency(); in getISOCurrency()
/third_party/icu/icu4c/source/i18n/unicode/
Dcurramt.h114 inline const CurrencyUnit& getCurrency() const;
123 inline const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency() function
128 return getCurrency().getISOCurrency(); in getISOCurrency()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dcurramt.h114 const CurrencyUnit& getCurrency() const;
124 return getCurrency().getISOCurrency(); in getISOCurrency()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java86 java.util.Currency save = fJdkNfmt.getCurrency(); in format()
87 String currCode = currAmt.getCurrency().getCurrencyCode(); in format()
119 public Currency getCurrency() { in getCurrency() method in NumberFormatJDK
120 java.util.Currency jdkCurrency = fJdkNfmt.getCurrency(); in getCurrency()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCustomSymbolCurrency.java18 currency = symbols.getCurrency(); in resolve()
23 if (!currency.equals(symbols.getCurrency())) { in resolve()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DCustomSymbolCurrency.java22 currency = symbols.getCurrency(); in resolve()
27 if (!currency.equals(symbols.getCurrency())) { in resolve()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DDecimalFormatSymbolsICU.java53 public Currency getCurrency() { in getCurrency() method in DecimalFormatSymbolsICU
54 com.ibm.icu.util.Currency icuCurrency = fIcuDecfs.getCurrency(); in getCurrency()
DNumberFormatICU.java80 public Currency getCurrency() { in getCurrency() method in NumberFormatICU
81 com.ibm.icu.util.Currency icuCurrency = fIcuNfmt.getCurrency(); in getCurrency()
DDecimalFormatICU.java134 public Currency getCurrency() { in getCurrency() method in DecimalFormatICU
135 com.ibm.icu.util.Currency icuCurrency = fIcuDecfmt.getCurrency(); in getCurrency()
267 Currency currency = newSymbols.getCurrency(); in setDecimalFormatSymbols()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DGlobalizationPreferencesTest.java539 Currency cur = gp.getCurrency(); in TestCurrency()
549 cur = gp.getCurrency(); in TestCurrency()
561 cur = gp.getCurrency(); in TestCurrency()
570 cur = gp.getCurrency(); in TestCurrency()
580 cur = gp.getCurrency(); in TestCurrency()
588 cur = gp.getCurrency(); in TestCurrency()
612 cur = gp.getCurrency(); in TestCurrency()
620 cur = gp1.getCurrency(); in TestCurrency()
DNumberFormatTest.java607 if (!parsedVal.getCurrency().equals(Currency.getInstance("USD"))) { in TestCurrencyFormatForMixParsing()
735 if (!parsedVal.getCurrency().equals(Currency.getInstance("USD"))) { in TestCurrency()
965 … currAmt.getCurrency().getCurrencyCode().compareTo(item.getCurExpectCurr()) != 0)) ) { in TestParseCurrency()
969 …ePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency().getCurrencyCo… in TestParseCurrency()
1074 Currency curr = ((DecimalFormat) nf).getCurrency(); in TestCurrencyPatterns()
1975 Currency cur2 = decsym.getCurrency(); in Test6816()
2876 assertEquals("Currency should be correct.", expected, currencyAmount.getCurrency()); in expectParseCurrency()
3697 cfmt.setCurrency(cfmt.getCurrency()); in TestCurrencyFractionDigits()
4500 …assertNotNull("NumberFormat is missing currency instance for CURRENCYSTYLE", curFmt.getCurrency());
4501 …ls("Currency instance is not for the desired locale for CURRENCYSTYLE", cur, curFmt.getCurrency());
[all …]
DNumberRegressionTests.java1058 if (symbols.getCurrency() != null) { in Test4122840()
1059 fmt2.setMaximumFractionDigits(symbols.getCurrency().getDefaultFractionDigits()); in Test4122840()
1060 fmt2.setMinimumFractionDigits(symbols.getCurrency().getDefaultFractionDigits()); in Test4122840()
1061 fmt2.setRoundingIncrement(symbols.getCurrency().getRoundingIncrement()); in Test4122840()
1566 if (df.getCurrency() != Currency.getInstance("XXX") && j == 1) { in Test4212072()
1568 f2.setCurrency(df.getCurrency()); in Test4212072()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java536 Currency cur = gp.getCurrency(); in TestCurrency()
546 cur = gp.getCurrency(); in TestCurrency()
558 cur = gp.getCurrency(); in TestCurrency()
567 cur = gp.getCurrency(); in TestCurrency()
577 cur = gp.getCurrency(); in TestCurrency()
585 cur = gp.getCurrency(); in TestCurrency()
609 cur = gp.getCurrency(); in TestCurrency()
617 cur = gp1.getCurrency(); in TestCurrency()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrencyAmount.java72 public Currency getCurrency() { in getCurrency() method in CurrencyAmount
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCurrencyAmount.java67 public Currency getCurrency() { in getCurrency() method in CurrencyAmount
/third_party/node/deps/icu-small/source/i18n/
Dcurramt.cpp48 const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency() function in CurrencyAmount
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNumberFormat.java388 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format()
1269 public Currency getCurrency() { in getCurrency() method in NumberFormat
1284 Currency c = getCurrency(); in getEffectiveCurrency()
DDecimalFormat.java788 localSymbols.setCurrency(currAmt.getCurrency()); in format()
793 .unit(currAmt.getCurrency()) in format()
1899 public synchronized Currency getCurrency() { in getCurrency() method in DecimalFormat
1900 return exportedProperties.getCurrency(); in getCurrency()
2278 boolean useCurrency = ((tprops.getCurrency() != null) in toPattern()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java414 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format()
1355 public Currency getCurrency() { in getCurrency() method in NumberFormat
1369 Currency c = getCurrency(); in getEffectiveCurrency()
DDecimalFormat.java809 localSymbols.setCurrency(currAmt.getCurrency()); in format()
814 .unit(currAmt.getCurrency()) in format()
2080 public synchronized Currency getCurrency() { in getCurrency() method in DecimalFormat
2081 return exportedProperties.getCurrency(); in getCurrency()
2504 boolean useCurrency = ((tprops.getCurrency() != null) in toPattern()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberPropertyMapper.java114 boolean useCurrency = ((properties.getCurrency() != null) in oldToNew()
118 Currency currency = CustomSymbolCurrency.resolve(properties.getCurrency(), locale, symbols); in oldToNew()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberPropertyMapper.java113 boolean useCurrency = ((properties.getCurrency() != null) in oldToNew()
117 Currency currency = CustomSymbolCurrency.resolve(properties.getCurrency(), locale, symbols); in oldToNew()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java604 if (!parsedVal.getCurrency().equals(Currency.getInstance("USD"))) { in TestCurrencyFormatForMixParsing()
732 if (!parsedVal.getCurrency().equals(Currency.getInstance("USD"))) { in TestCurrency()
962 … currAmt.getCurrency().getCurrencyCode().compareTo(item.getCurExpectCurr()) != 0)) ) { in TestParseCurrency()
966 …ePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency().getCurrencyCo… in TestParseCurrency()
1071 Currency curr = ((DecimalFormat) nf).getCurrency(); in TestCurrencyPatterns()
1972 Currency cur2 = decsym.getCurrency(); in Test6816()
2873 assertEquals("Currency should be correct.", expected, currencyAmount.getCurrency()); in expectParseCurrency()
3694 cfmt.setCurrency(cfmt.getCurrency()); in TestCurrencyFractionDigits()
4500 …assertNotNull("NumberFormat is missing currency instance for CURRENCYSTYLE", curFmt.getCurrency());
4501 …ls("Currency instance is not for the desired locale for CURRENCYSTYLE", cur, curFmt.getCurrency());
[all …]
DNumberRegressionTests.java1055 if (symbols.getCurrency() != null) { in Test4122840()
1056 fmt2.setMaximumFractionDigits(symbols.getCurrency().getDefaultFractionDigits()); in Test4122840()
1057 fmt2.setMinimumFractionDigits(symbols.getCurrency().getDefaultFractionDigits()); in Test4122840()
1058 fmt2.setRoundingIncrement(symbols.getCurrency().getRoundingIncrement()); in Test4122840()
1559 if (df.getCurrency() != Currency.getInstance("XXX") && j == 1) { in Test4212072()
1561 f2.setCurrency(df.getCurrency()); in Test4212072()

123