Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/i18n/unicode/
Dcurramt.h110 inline const CurrencyUnit& getCurrency() const;
119 inline const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency() function
124 return getCurrency().getISOCurrency(); in getISOCurrency()
Dnumfmt.h950 const UChar* getCurrency() const;
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDecimalFormatSymbolsTest.java75 Currency jdkCur = jdkDecfs.getCurrency(); in TestICUEquivalent()
76 com.ibm.icu.util.Currency icuCur = icuDecfs.getCurrency(); in TestICUEquivalent()
119 decfs.setCurrency(decfsEnUS.getCurrency()); in TestSetSymbols()
137 Currency cur = decfs.getCurrency(); in TestSetSymbols()
138 Currency curEnUS = decfsEnUS.getCurrency(); in TestSetSymbols()
180 String jdkCurrencyCode = jdkDecfs.getCurrency().getCurrencyCode(); in TestKeywords()
181 String icuCurrencyCode = icuDecfs.getCurrency().getCurrencyCode(); in TestKeywords()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java84 java.util.Currency save = fJdkNfmt.getCurrency(); in format()
85 String currCode = currAmt.getCurrency().getCurrencyCode(); in format()
117 public Currency getCurrency() { in getCurrency() method in NumberFormatJDK
118 java.util.Currency jdkCurrency = fJdkNfmt.getCurrency(); in getCurrency()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDecimalFormatSymbols.java412 public Currency getCurrency() { in getCurrency() method in DecimalFormatSymbols
413 return new Currency(dfs.getCurrency()); in getCurrency()
DNumberFormat.java1074 public Currency getCurrency() { in getCurrency() method in NumberFormat
1075 return new Currency(numberFormat.getCurrency()); in getCurrency()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DDecimalFormatSymbolsICU.java51 public Currency getCurrency() { in getCurrency() method in DecimalFormatSymbolsICU
52 com.ibm.icu.util.Currency icuCurrency = fIcuDecfs.getCurrency(); in getCurrency()
DNumberFormatICU.java78 public Currency getCurrency() { in getCurrency() method in NumberFormatICU
79 com.ibm.icu.util.Currency icuCurrency = fIcuNfmt.getCurrency(); in getCurrency()
DDecimalFormatICU.java132 public Currency getCurrency() { in getCurrency() method in DecimalFormatICU
133 com.ibm.icu.util.Currency icuCurrency = fIcuDecfmt.getCurrency(); in getCurrency()
265 Currency currency = newSymbols.getCurrency(); in setDecimalFormatSymbols()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrencyAmount.java47 public Currency getCurrency() { in getCurrency() method in CurrencyAmount
DGlobalizationPreferences.java384 public Currency getCurrency() { in getCurrency() method in GlobalizationPreferences
959 result.setCurrency(getCurrency()); in guessNumberFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrencyAmount.java50 public Currency getCurrency() { in getCurrency() method in CurrencyAmount
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java524 Currency cur = gp.getCurrency(); in TestCurrency()
534 cur = gp.getCurrency(); in TestCurrency()
546 cur = gp.getCurrency(); in TestCurrency()
555 cur = gp.getCurrency(); in TestCurrency()
565 cur = gp.getCurrency(); in TestCurrency()
573 cur = gp.getCurrency(); in TestCurrency()
597 cur = gp.getCurrency(); in TestCurrency()
605 cur = gp1.getCurrency(); in TestCurrency()
DIntlTestDecimalFormatSymbols.java70 if (!fr.getCurrency().equals(currency)){ in TestSymbols()
DNumberFormatTest.java148 if (!tuple.outputCurrency.equals(currAmt.getCurrency().toString())) {
149 … return "Expected currency: " + tuple.outputCurrency + ", got: " + currAmt.getCurrency();
922 if (!parsedVal.getCurrency().equals(Currency.getInstance("USD"))) { in TestCurrencyFormatForMixParsing()
1018 if (!parsedVal.getCurrency().equals(Currency.getInstance("USD"))) { in TestCurrency()
1217 … currAmt.getCurrency().getCurrencyCode().compareTo(item.getCurExpectCurr()) != 0)) ) { in TestParseCurrency()
1221 …ePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency().getCurrencyCo… in TestParseCurrency()
1296 Currency curr = ((DecimalFormat) nf).getCurrency(); in TestCurrencyPatterns()
2012 Currency cur2 = decsym.getCurrency(); in Test6816()
2893 assertEquals("Currency should be correct.", expected, currencyAmount.getCurrency()); in expectParseCurrency()
3653 cfmt.setCurrency(cfmt.getCurrency()); in TestCurrencyFractionDigits()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java520 Currency cur = gp.getCurrency(); in TestCurrency()
530 cur = gp.getCurrency(); in TestCurrency()
542 cur = gp.getCurrency(); in TestCurrency()
551 cur = gp.getCurrency(); in TestCurrency()
561 cur = gp.getCurrency(); in TestCurrency()
569 cur = gp.getCurrency(); in TestCurrency()
593 cur = gp.getCurrency(); in TestCurrency()
601 cur = gp1.getCurrency(); in TestCurrency()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java376 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format()
1167 public Currency getCurrency() { in getCurrency() method in NumberFormat
1182 Currency c = getCurrency(); in getEffectiveCurrency()
DCurrencyFormat.java68 fmt.setCurrency(currency.getCurrency()); in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java402 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format()
1255 public Currency getCurrency() { in getCurrency() method in NumberFormat
1269 Currency c = getCurrency(); in getEffectiveCurrency()
DCurrencyFormat.java67 fmt.setCurrency(currency.getCurrency()); in format()
/external/icu/icu4c/source/i18n/
Dnumfmt.cpp569 if(arg.wasCurrency() && u_strcmp(iso, getCurrency())) { in format()
624 if(arg.wasCurrency() && u_strcmp(iso, getCurrency())) { in format()
1188 const UChar* NumberFormat::getCurrency() const { in getCurrency() function in NumberFormat
1193 const UChar* c = getCurrency(); in getEffectiveCurrency()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java66 if (!fr.getCurrency().equals(currency)){ in TestSymbols()
DNumberFormatTest.java144 if (!tuple.outputCurrency.equals(currAmt.getCurrency().toString())) {
145 … return "Expected currency: " + tuple.outputCurrency + ", got: " + currAmt.getCurrency();
918 if (!parsedVal.getCurrency().equals(Currency.getInstance("USD"))) { in TestCurrencyFormatForMixParsing()
1014 if (!parsedVal.getCurrency().equals(Currency.getInstance("USD"))) { in TestCurrency()
1213 … currAmt.getCurrency().getCurrencyCode().compareTo(item.getCurExpectCurr()) != 0)) ) { in TestParseCurrency()
1217 …ePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency().getCurrencyCo… in TestParseCurrency()
1292 Currency curr = ((DecimalFormat) nf).getCurrency(); in TestCurrencyPatterns()
2008 Currency cur2 = decsym.getCurrency(); in Test6816()
2889 assertEquals("Currency should be correct.", expected, currencyAmount.getCurrency()); in expectParseCurrency()
3649 cfmt.setCurrency(cfmt.getCurrency()); in TestCurrencyFractionDigits()
/external/icu/icu4c/source/test/intltest/
Dtsmthred.cpp544 if(u_strcmp(fFormat->getCurrency(), kUSD)) { in doStuff()
548 .append(fFormat->getCurrency()) in doStuff()
553 if(u_strcmp(gSharedData->fFormat->getCurrency(), kUSD)) { in doStuff()
557 .append(gSharedData->fFormat->getCurrency()) in doStuff()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java400 public Currency getCurrency() { in getCurrency() method in GlobalizationPreferences
992 result.setCurrency(getCurrency()); in guessNumberFormat()

12