Home
last modified time | relevance | path

Searched refs:getCurrency (Results 1 - 25 of 54) sorted by relevance

123

/third_party/icu/icu4c/source/i18n/unicode/
H A Dcurramt.h114 inline const CurrencyUnit& getCurrency() const;
123 inline const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency() function in CurrencyAmount
128 return getCurrency().getISOCurrency(); in getISOCurrency()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dcurramt.h114 inline const CurrencyUnit& getCurrency() const;
123 inline const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency() function in CurrencyAmount
128 return getCurrency().getISOCurrency(); in getISOCurrency()
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
H A DDecimalFormatSymbolsTest.java72 Currency jdkCur = jdkDecfs.getCurrency(); in TestICUEquivalent()
73 com.ibm.icu.util.Currency icuCur = icuDecfs.getCurrency(); in TestICUEquivalent()
77 errln("FAIL: Different results returned by getCurrency for locale " + loc); in TestICUEquivalent()
117 decfs.setCurrency(decfsEnUS.getCurrency()); in TestSetSymbols()
135 Currency cur = decfs.getCurrency(); in TestSetSymbols()
136 Currency curEnUS = decfsEnUS.getCurrency(); in TestSetSymbols()
140 errln("FAIL: Different results returned by getCurrency"); in TestSetSymbols()
171 String jdkCurrencyCode = jdkDecfs.getCurrency().getCurrencyCode(); in TestKeywords()
172 String icuCurrencyCode = icuDecfs.getCurrency().getCurrencyCode(); in TestKeywords()
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dcurramt.h114 const CurrencyUnit& getCurrency() const;
124 return getCurrency().getISOCurrency(); in getISOCurrency()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A 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/
H A 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/icuadapter/
H A 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/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DDecimalFormatSymbolsICU.java53 public Currency getCurrency() { in getCurrency() method in DecimalFormatSymbolsICU
54 com.ibm.icu.util.Currency icuCurrency = fIcuDecfs.getCurrency(); in getCurrency()
H A DNumberFormatICU.java80 public Currency getCurrency() { in getCurrency() method in NumberFormatICU
81 com.ibm.icu.util.Currency icuCurrency = fIcuNfmt.getCurrency(); in getCurrency()
H A 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/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCurrencyAmount.java72 public Currency getCurrency() { in getCurrency() method in CurrencyAmount
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DCurrencyAmount.java67 public Currency getCurrency() { in getCurrency() method in CurrencyAmount
/third_party/node/deps/icu-small/source/i18n/
H A Dcurramt.cpp48 const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency() function in CurrencyAmount
H A Dnumfmt.cpp569 if(arg.wasCurrency() && u_strcmp(iso, getCurrency())) { in format()
624 if(arg.wasCurrency() && u_strcmp(iso, getCurrency())) { in format()
1194 const char16_t* NumberFormat::getCurrency() const { in getCurrency() function in NumberFormat
1199 const char16_t* c = getCurrency(); in getEffectiveCurrency()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNumberFormat.java414 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format()
1355 public Currency getCurrency() { in getCurrency() method in NumberFormat
1361 * should override this method as needed. Unlike getCurrency(),
1369 Currency c = getCurrency(); in getEffectiveCurrency()
H A DDecimalFormat.java809 localSymbols.setCurrency(currAmt.getCurrency()); in format()
814 .unit(currAmt.getCurrency()) in format()
2075 * @see DecimalFormatSymbols#getCurrency
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/text/
H A DNumberFormat.java388 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format()
1269 public Currency getCurrency() { in getCurrency() method in NumberFormat
1275 * should override this method as needed. Unlike getCurrency(),
1284 Currency c = getCurrency(); in getEffectiveCurrency()
H A DDecimalFormat.java788 localSymbols.setCurrency(currAmt.getCurrency()); in format()
793 .unit(currAmt.getCurrency()) in format()
1896 * @see DecimalFormatSymbols#getCurrency
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/tests/collate/src/com/ibm/icu/dev/test/format/
H A 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/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A 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()
H A 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 ", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency().getCurrencyCode() ); 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()); in TestCurrencyFormatForMissingLocale()
4501 assertEquals("Currency instance is not for the desired locale for CURRENCYSTYLE", cur, curFmt.getCurrency()); in TestCurrencyFormatForMissingLocale()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A 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 ", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency().getCurrencyCode() ); 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()); in TestCurrencyFormatForMissingLocale()
4501 assertEquals("Currency instance is not for the desired locale for CURRENCYSTYLE", cur, curFmt.getCurrency()); in TestCurrencyFormatForMissingLocale()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DNumberPropertyMapper.java113 boolean useCurrency = ((properties.getCurrency() != null) in oldToNew()
117 Currency currency = CustomSymbolCurrency.resolve(properties.getCurrency(), locale, symbols); in oldToNew()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DNumberPropertyMapper.java114 boolean useCurrency = ((properties.getCurrency() != null) in oldToNew()
118 Currency currency = CustomSymbolCurrency.resolve(properties.getCurrency(), locale, symbols); in oldToNew()
/third_party/icu/icu4c/source/i18n/
H A Dnumfmt.cpp569 if(arg.wasCurrency() && u_strcmp(iso, getCurrency())) { in format()
624 if(arg.wasCurrency() && u_strcmp(iso, getCurrency())) { in format()
1192 const char16_t* NumberFormat::getCurrency() const { in getCurrency() function in NumberFormat
1197 const UChar* c = getCurrency(); in getEffectiveCurrency()

Completed in 37 milliseconds

123