Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java88 fJdkNfmt.setCurrency(java.util.Currency.getInstance(currCode)); in format()
92 fJdkNfmt.setCurrency(save); in format()
205 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormatJDK
207 fJdkNfmt.setCurrency(null); in setCurrency()
210 fJdkNfmt.setCurrency(java.util.Currency.getInstance(theCurrency.getCurrencyCode())); in setCurrency()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java167 public void setCurrency(Currency currency) { in setCurrency() method in NumberFormatICU
169 fIcuNfmt.setCurrency(null); in setCurrency()
171 fIcuNfmt.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency()
DDecimalFormatICU.java249 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatICU
251 fIcuDecfmt.setCurrency(null); in setCurrency()
253 … fIcuDecfmt.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency()
267 icuDecfs.setCurrency(null); in setDecimalFormatSymbols()
269 … icuDecfs.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setDecimalFormatSymbols()
DDecimalFormatSymbolsICU.java130 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbolsICU
135 fIcuDecfs.setCurrency(icuCurrency); in setCurrency()
/external/icu/icu4c/source/samples/numfmt/
Dmain.cpp206 nf.setCurrency(uCurrency); in setNumberFormatCurrency_2_6()
208 nf.setCurrency(uCurrency, errorCode); in setNumberFormatCurrency_2_6()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyFormat.java67 fmt.setCurrency(currency.getCurrency()); in format()
DNumberFormatServiceShim.java96 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
DNumberFormat.java395 if (!same) setCurrency(curr); in format()
397 if (!same) setCurrency(save); in format()
1237 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormat
DDecimalFormat.java632 setCurrency(Currency.getInstance(def)); in DecimalFormat()
665 setCurrency(Currency.getInstance(def)); in DecimalFormat()
3173 setCurrency(Currency.getInstance(symbols.getULocale()));
3175 setCurrency(null);
5218 public void setCurrency(Currency theCurrency) { in setCurrency() method
5224 super.setCurrency(theCurrency); in setCurrency()
5229 symbols.setCurrency(theCurrency); in setCurrency()
DCompactDecimalFormat.java193 setCurrency(null); in finishInit()
DDecimalFormatSymbols.java495 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbols
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatSpecificationTest.java126 fmt.setCurrency(Currency.getInstance("JPY")); in TestPadding()
DIntlTestDecimalFormatSymbols.java57 fr.setCurrency(currency); in TestSymbols()
DNumberFormatTest.java664 numFmt.setCurrency(Currency.getInstance(currencyISOCode)); in TestCurrencyIsoPluralFormat()
1405 df.setCurrency(Currency.getInstance("INR")); in TestCoverage()
2282 fmt.setCurrency(curr); in expectCurrency()
2660 format1.setCurrency(euro); in TestSetCurrency()
2661 format2.setCurrency(euro); in TestSetCurrency()
3066 cfmt.setCurrency(cfmt.getCurrency()); in TestCurrencyFractionDigits()
3437 numberFormat.setCurrency(Currency.getInstance(test[1])); in TestCurrencyPlurals()
3688 fmt2.setCurrency(Currency.getInstance("PKR"));
/external/icu/icu4c/source/test/intltest/
Dnumfmtspectest.cpp190 fmt.setCurrency(kJPY); in TestPadding()
Dnumfmtst.cpp2581 fmt.setCurrency(curr, ec); in expectCurrency()
2583 fmt.setCurrency(curr); //Deprecated variant, for coverage only in expectCurrency()
3428 numFmt->setCurrency(currencyCode, status); in TestCurrencyIsoPluralFormat()
3540 numFmt->setCurrency(currencyCode, status); in TestCurrencyParsing()
6547 fmt->setCurrency(fmt->getCurrency(), status); in TestCurrencyFractionDigits()
7732 fmt->setCurrency(CUR_PKR, status); in TestCurrencyUsage()
/external/icu/icu4c/source/i18n/unicode/
Ddecimfmt.h1887 virtual void setCurrency(const UChar* theCurrency, UErrorCode& ec);
1894 virtual void setCurrency(const UChar* theCurrency);
Dnumfmt.h941 virtual void setCurrency(const UChar* theCurrency, UErrorCode& ec);
/external/icu/icu4c/source/i18n/
Dnumfmt.cpp567 cloneFmt->setCurrency(iso, status); in format()
622 cloneFmt->setCurrency(iso, status); in format()
1160 void NumberFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) { in setCurrency() function in NumberFormat
Dunum.cpp636 df->setCurrency(val.getTerminatedBuffer(), *status); in unum_setTextAttribute()
Ddecimfmt.cpp5199 NumberFormat::setCurrency(theCurrency, ec);
5216 void DecimalFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) {
5218 NumberFormat::setCurrency(theCurrency, ec);
5255 void DecimalFormat::setCurrency(const UChar* theCurrency) {
5257 setCurrency(theCurrency, ec);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java559 gp.setCurrency(ecur); in TestCurrency()
581 gp.setCurrency(ecur2); in TestCurrency()
600 gp1.setCurrency(ecur2); in TestCurrency()
1469 gp.setCurrency(Currency.getInstance("GBP")); in TestNumberFormat()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDecimalFormatSymbolsTest.java119 decfs.setCurrency(decfsEnUS.getCurrency()); in TestSetSymbols()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java385 public GlobalizationPreferences setCurrency(Currency currency) { in setCurrency() method in GlobalizationPreferences
992 result.setCurrency(getCurrency()); in guessNumberFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/
DTestCLDRVsICU.java406 nf.setCurrency(Currency.getInstance(attributeValue));

12