Home
last modified time | relevance | path

Searched refs:setCurrency (Results 1 – 25 of 66) sorted by relevance

123

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java90 fJdkNfmt.setCurrency(java.util.Currency.getInstance(currCode)); in format()
94 fJdkNfmt.setCurrency(save); in format()
207 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormatJDK
209 fJdkNfmt.setCurrency(null); in setCurrency()
212 fJdkNfmt.setCurrency(java.util.Currency.getInstance(theCurrency.getCurrencyCode())); in setCurrency()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DDecimalFormatICU.java251 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatICU
253 fIcuDecfmt.setCurrency(null); in setCurrency()
255 … fIcuDecfmt.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency()
269 icuDecfs.setCurrency(null); in setDecimalFormatSymbols()
271 … icuDecfs.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setDecimalFormatSymbols()
DNumberFormatICU.java169 public void setCurrency(Currency currency) { in setCurrency() method in NumberFormatICU
171 fIcuNfmt.setCurrency(null); in setCurrency()
173 fIcuNfmt.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency()
DDecimalFormatSymbolsICU.java132 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbolsICU
137 fIcuDecfs.setCurrency(icuCurrency); in setCurrency()
/external/icu/icu4c/source/samples/numfmt/
Dmain.cpp210 nf.setCurrency(uCurrency); in setNumberFormatCurrency_2_6()
212 nf.setCurrency(uCurrency, errorCode); in setNumberFormatCurrency_2_6()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDecimalFormatSymbols.java435 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbols
436 dfs.setCurrency(java.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency()
DDecimalFormat.java1674 public void setCurrency(Currency theCurrency) { in setCurrency() method in DecimalFormat
1675 super.setCurrency(theCurrency); in setCurrency()
DNumberFormat.java1067 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormat
1068 numberFormat.setCurrency(theCurrency.currency); in setCurrency()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java605 df.setCurrency(Currency.getInstance("EUR")); in TestMismatchedCurrencyFormatFail()
783 numFmt.setCurrency(Currency.getInstance(currencyISOCode)); in TestCurrencyIsoPluralFormat()
1589 df.setCurrency(Currency.getInstance("INR")); in TestCoverage()
2335 nf.setCurrency(Currency.getInstance(Locale.FRANCE)); in TestFieldPositionCurrency()
2342 nf.setCurrency(Currency.getInstance(new Locale("fr", "ch", ""))); in TestFieldPositionCurrency()
2368 nf.setCurrency(Currency.getInstance(new Locale("fr", "ch"))); in TestFieldPositionCurrency()
2399 nf.setCurrency(Currency.getInstance(new Locale("ja", "jp"))); in TestFieldPositionCurrency()
2770 fmt.setCurrency(curr); in expectCurrency()
3199 format1.setCurrency(euro); in TestSetCurrency()
3200 format2.setCurrency(euro); in TestSetCurrency()
[all …]
DNumberFormatSpecificationTest.java139 fmt.setCurrency(Currency.getInstance("JPY")); in TestPadding()
DNumberFormatDataDrivenTest.java204 fmt.setCurrency(tuple.currency);
565 fmt.setCurrency(java.util.Currency.getInstance(tuple.currency.toString()));
672 properties.setCurrency(tuple.currency); in propertiesFromTuple()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java602 df.setCurrency(Currency.getInstance("EUR")); in TestMismatchedCurrencyFormatFail()
780 numFmt.setCurrency(Currency.getInstance(currencyISOCode)); in TestCurrencyIsoPluralFormat()
1586 df.setCurrency(Currency.getInstance("INR")); in TestCoverage()
2332 nf.setCurrency(Currency.getInstance(Locale.FRANCE)); in TestFieldPositionCurrency()
2339 nf.setCurrency(Currency.getInstance(new Locale("fr", "ch", ""))); in TestFieldPositionCurrency()
2365 nf.setCurrency(Currency.getInstance(new Locale("fr", "ch"))); in TestFieldPositionCurrency()
2396 nf.setCurrency(Currency.getInstance(new Locale("ja", "jp"))); in TestFieldPositionCurrency()
2767 fmt.setCurrency(curr); in expectCurrency()
3196 format1.setCurrency(euro); in TestSetCurrency()
3197 format2.setCurrency(euro); in TestSetCurrency()
[all …]
DNumberFormatSpecificationTest.java136 fmt.setCurrency(Currency.getInstance("JPY")); in TestPadding()
DNumberFormatDataDrivenTest.java201 fmt.setCurrency(tuple.currency);
562 fmt.setCurrency(java.util.Currency.getInstance(tuple.currency.toString()));
669 properties.setCurrency(tuple.currency); in propertiesFromTuple()
/external/icu/icu4c/source/i18n/unicode/
Ddecimfmt.h2017 void setCurrency(const char16_t* theCurrency, UErrorCode& ec) U_OVERRIDE;
2024 virtual void setCurrency(const char16_t* theCurrency);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormatServiceShim.java99 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
DNumberFormat.java390 if (!same) setCurrency(curr); in format()
392 if (!same) setCurrency(save); in format()
1201 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormat
DDecimalFormat.java665 setCurrency((Currency) getter.get(this)); in readObject()
1898 public synchronized void setCurrency(Currency currency) { in setCurrency() method in DecimalFormat
1899 properties.setCurrency(currency); in setCurrency()
1902 symbols.setCurrency(currency); in setCurrency()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormatServiceShim.java98 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
DNumberFormat.java416 if (!same) setCurrency(curr); in format()
418 if (!same) setCurrency(save); in format()
1347 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormat
DDecimalFormat.java678 setCurrency((Currency) getter.get(this)); in readObject()
2047 public synchronized void setCurrency(Currency currency) { in setCurrency() method in DecimalFormat
2048 properties.setCurrency(currency); in setCurrency()
2051 symbols.setCurrency(currency); in setCurrency()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
DCurrencyDemo.java41 result.setCurrency(currency); in getCurrencyFormat()
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp1078 void DecimalFormat::setCurrency(const char16_t* theCurrency, UErrorCode& ec) { in setCurrency() function in DecimalFormat
1084 NumberFormat::setCurrency(theCurrency, ec); // to set field for compatibility in setCurrency()
1090 void DecimalFormat::setCurrency(const char16_t* theCurrency) { in setCurrency() function in DecimalFormat
1092 setCurrency(theCurrency, localStatus); in setCurrency()
1161 …NumberFormat::setCurrency(fields->exportedProperties->currency.get(status).getISOCurrency(), statu… in touch()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp2809 fmt.setCurrency(curr, ec); in expectCurrency()
2811 fmt.setCurrency(curr); //Deprecated variant, for coverage only in expectCurrency()
3568 df->setCurrency(u"EUR", status); in TestMismatchedCurrencyFormatFail()
3690 numFmt->setCurrency(currencyCode, status); in TestCurrencyIsoPluralFormat()
3805 numFmt->setCurrency(currencyCode, status); in TestCurrencyParsing()
6805 fmt->setCurrency(fmt->getCurrency(), status); in TestCurrencyFractionDigits()
8019 fmt->setCurrency(CUR_PKR, status); in TestCurrencyUsage()
8198 fmt->setCurrency(JPY, status); in TestFractionalDigitsForCurrency()
8359 dfmt->setCurrency(USD); in Test11376_getAndSetPositivePrefix()
8381 dfmt->setCurrency(USD); in Test11376_getAndSetPositivePrefix()
[all …]
Dnumfmtspectest.cpp202 fmt.setCurrency(kJPY); in TestPadding()

123