/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 90 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/ |
D | DecimalFormatICU.java | 251 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()
|
D | NumberFormatICU.java | 169 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()
|
D | DecimalFormatSymbolsICU.java | 132 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbolsICU 137 fIcuDecfs.setCurrency(icuCurrency); in setCurrency()
|
/external/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 210 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/ |
D | DecimalFormatSymbols.java | 435 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbols 436 dfs.setCurrency(java.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency()
|
D | DecimalFormat.java | 1674 public void setCurrency(Currency theCurrency) { in setCurrency() method in DecimalFormat 1675 super.setCurrency(theCurrency); in setCurrency()
|
D | NumberFormat.java | 1067 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/ |
D | NumberFormatTest.java | 605 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 …]
|
D | NumberFormatSpecificationTest.java | 139 fmt.setCurrency(Currency.getInstance("JPY")); in TestPadding()
|
D | NumberFormatDataDrivenTest.java | 204 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/ |
D | NumberFormatTest.java | 602 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 …]
|
D | NumberFormatSpecificationTest.java | 136 fmt.setCurrency(Currency.getInstance("JPY")); in TestPadding()
|
D | NumberFormatDataDrivenTest.java | 201 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/ |
D | decimfmt.h | 2017 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/ |
D | NumberFormatServiceShim.java | 99 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
|
D | NumberFormat.java | 390 if (!same) setCurrency(curr); in format() 392 if (!same) setCurrency(save); in format() 1201 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormat
|
D | DecimalFormat.java | 665 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/ |
D | NumberFormatServiceShim.java | 98 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
|
D | NumberFormat.java | 416 if (!same) setCurrency(curr); in format() 418 if (!same) setCurrency(save); in format() 1347 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormat
|
D | DecimalFormat.java | 678 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/ |
D | CurrencyDemo.java | 41 result.setCurrency(currency); in getCurrencyFormat()
|
/external/icu/icu4c/source/i18n/ |
D | decimfmt.cpp | 1078 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/ |
D | numfmtst.cpp | 2809 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 …]
|
D | numfmtspectest.cpp | 202 fmt.setCurrency(kJPY); in TestPadding()
|