Home
last modified time | relevance | path

Searched refs:getCurrencyInstance (Results 1 – 25 of 49) sorted by relevance

12

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRegistrationTest.java85 NumberFormat f2 = NumberFormat.getCurrencyInstance(SRC_LOC); in TestRegistration()
91 NumberFormat f3 = NumberFormat.getCurrencyInstance(SRC_LOC); in TestRegistration()
94 NumberFormat f5 = NumberFormat.getCurrencyInstance(SRC_LOC); in TestRegistration()
DNumberFormatTest.java399 NumberFormat fmt = NumberFormat.getCurrencyInstance(Locale.GERMANY); in TestParseCurrencyTrailingSymbol()
463 NumberFormat foo = NumberFormat.getCurrencyInstance(); in TestSpaceParsing()
617 DecimalFormat df = (DecimalFormat) NumberFormat.getCurrencyInstance(ULocale.ENGLISH); in TestMismatchedCurrencyFormatFail()
691 NumberFormat fmt = NumberFormat.getCurrencyInstance(locale); in TestCurrency()
710 NumberFormat fmt = NumberFormat.getCurrencyInstance(locale); in TestCurrency()
937 fmt = NumberFormat.getCurrencyInstance(uloc); in TestParseCurrency()
1003 NumberFormat.getCurrencyInstance(Locale.US); in TestCurrencyObject()
1019 fmt = NumberFormat.getCurrencyInstance(Locale.FRANCE); in TestCurrencyObject()
1039 NumberFormat.getCurrencyInstance(Locale.US); in TestCompatibleCurrencies()
1055 NumberFormat nf = NumberFormat.getCurrencyInstance(locs[i]); in TestCurrencyPatterns()
[all …]
DNumberFormatRoundTripTest.java55 fmt = NumberFormat.getCurrencyInstance(); in TestNumberFormatRoundTrip()
76 fmt = NumberFormat.getCurrencyInstance(loc[i]); in TestNumberFormatRoundTrip()
DIntlTestNumberFormat.java49 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in _testLocale()
76 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in TestLocale()
DIntlTestNumberFormatAPI.java52 NumberFormat cur = NumberFormat.getCurrencyInstance(); in TestAPI()
54 NumberFormat cur_fr = NumberFormat.getCurrencyInstance(Locale.FRENCH); in TestAPI()
DNumberFormatRegressionTest.java357 nf = NumberFormat.getCurrencyInstance(new ULocale("ar_AE")); in TestNBSPInPattern()
375 NumberFormat fmt = NumberFormat.getCurrencyInstance(); in TestT9293()
DWriteNumberFormatSerialTestData.java42 NumberFormat nfc = NumberFormat.getCurrencyInstance(Locale.US); in main()
DNumberRegressionTests.java188 NumberFormat nfcommon = NumberFormat.getCurrencyInstance(Locale.US); in assignFloatValue()
465 DecimalFormat df = (DecimalFormat) NumberFormat.getCurrencyInstance(de); in Test4087244()
518 formatter = NumberFormat.getCurrencyInstance(Locale.FRANCE); in Test4070798()
568 formatter = NumberFormat.getCurrencyInstance(Locale.CANADA_FRENCH); in Test4071005()
617 formatter = NumberFormat.getCurrencyInstance(Locale.GERMANY); in Test4071014()
668 formatter = NumberFormat.getCurrencyInstance(Locale.ITALY); in Test4071859()
1551 nf = NumberFormat.getCurrencyInstance(avail[i]); in Test4212072()
DIntlTestDecimalFormatAPIC.java332 t_Format(7, number, NumberFormat.getCurrencyInstance(us), in testFormatToCharacterIterator()
336 t_Format(8, negativeNumber, NumberFormat.getCurrencyInstance(us), in testFormatToCharacterIterator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatRegistrationTest.java88 NumberFormat f2 = NumberFormat.getCurrencyInstance(SRC_LOC); in TestRegistration()
94 NumberFormat f3 = NumberFormat.getCurrencyInstance(SRC_LOC); in TestRegistration()
97 NumberFormat f5 = NumberFormat.getCurrencyInstance(SRC_LOC); in TestRegistration()
DNumberFormatTest.java402 NumberFormat fmt = NumberFormat.getCurrencyInstance(Locale.GERMANY); in TestParseCurrencyTrailingSymbol()
466 NumberFormat foo = NumberFormat.getCurrencyInstance(); in TestSpaceParsing()
620 DecimalFormat df = (DecimalFormat) NumberFormat.getCurrencyInstance(ULocale.ENGLISH); in TestMismatchedCurrencyFormatFail()
694 NumberFormat fmt = NumberFormat.getCurrencyInstance(locale); in TestCurrency()
713 NumberFormat fmt = NumberFormat.getCurrencyInstance(locale); in TestCurrency()
940 fmt = NumberFormat.getCurrencyInstance(uloc); in TestParseCurrency()
1006 NumberFormat.getCurrencyInstance(Locale.US); in TestCurrencyObject()
1022 fmt = NumberFormat.getCurrencyInstance(Locale.FRANCE); in TestCurrencyObject()
1042 NumberFormat.getCurrencyInstance(Locale.US); in TestCompatibleCurrencies()
1058 NumberFormat nf = NumberFormat.getCurrencyInstance(locs[i]); in TestCurrencyPatterns()
[all …]
DNumberFormatRoundTripTest.java58 fmt = NumberFormat.getCurrencyInstance(); in TestNumberFormatRoundTrip()
79 fmt = NumberFormat.getCurrencyInstance(loc[i]); in TestNumberFormatRoundTrip()
DIntlTestNumberFormat.java52 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in _testLocale()
79 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in TestLocale()
DIntlTestNumberFormatAPI.java55 NumberFormat cur = NumberFormat.getCurrencyInstance(); in TestAPI()
57 NumberFormat cur_fr = NumberFormat.getCurrencyInstance(Locale.FRENCH); in TestAPI()
DNumberFormatRegressionTest.java360 nf = NumberFormat.getCurrencyInstance(new ULocale("ar_AE")); in TestNBSPInPattern()
378 NumberFormat fmt = NumberFormat.getCurrencyInstance(); in TestT9293()
DWriteNumberFormatSerialTestData.java45 NumberFormat nfc = NumberFormat.getCurrencyInstance(Locale.US); in main()
DNumberRegressionTests.java191 NumberFormat nfcommon = NumberFormat.getCurrencyInstance(Locale.US); in assignFloatValue()
468 DecimalFormat df = (DecimalFormat) NumberFormat.getCurrencyInstance(de); in Test4087244()
521 formatter = NumberFormat.getCurrencyInstance(Locale.FRANCE); in Test4070798()
571 formatter = NumberFormat.getCurrencyInstance(Locale.CANADA_FRENCH); in Test4071005()
620 formatter = NumberFormat.getCurrencyInstance(Locale.GERMANY); in Test4071014()
671 formatter = NumberFormat.getCurrencyInstance(Locale.ITALY); in Test4071859()
1554 nf = NumberFormat.getCurrencyInstance(avail[i]); in Test4212072()
DIntlTestDecimalFormatAPIC.java335 t_Format(7, number, NumberFormat.getCurrencyInstance(us), in testFormatToCharacterIterator()
339 t_Format(8, negativeNumber, NumberFormat.getCurrencyInstance(us), in testFormatToCharacterIterator()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
DNumberFormatProviderICU.java28 public NumberFormat getCurrencyInstance(Locale locale) { in getCurrencyInstance() method in NumberFormatProviderICU
63 icuNfmt = com.ibm.icu.text.NumberFormat.getCurrencyInstance(actual); in getInstance()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DNumberFormatTest.java104 nf = NumberFormat.getCurrencyInstance(loc); in getJDKInstance()
136 icunf = com.ibm.icu.text.NumberFormat.getCurrencyInstance(loc); in getICUInstance()
303 NumberFormat jdkNfmt = NumberFormat.getCurrencyInstance(loc); in TestKeywords()
304 … com.ibm.icu.text.NumberFormat icuNfmt = com.ibm.icu.text.NumberFormat.getCurrencyInstance(uloc); in TestKeywords()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
DCurrencyDemo.java40 NumberFormat result = NumberFormat.getCurrencyInstance(displayLocale); in getCurrencyFormat()
46 DecimalFormat result = (DecimalFormat)NumberFormat.getCurrencyInstance(displayLocale); in getCurrencyFormat()
/external/icu/android_icu4j/testing/src/com/android/libcore/java/text/
DNumberFormatTest.java44 DecimalFormat df = (DecimalFormat) NumberFormat.getCurrencyInstance(locale); in testMonetarySeparator()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java762 public final static NumberFormat getCurrencyInstance() { in getCurrencyInstance() method in NumberFormat
774 public static NumberFormat getCurrencyInstance(Locale inLocale) { in getCurrencyInstance() method in NumberFormat
786 public static NumberFormat getCurrencyInstance(ULocale inLocale) { in getCurrencyInstance() method in NumberFormat
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java679 public final static NumberFormat getCurrencyInstance() { in getCurrencyInstance() method in NumberFormat
687 public static NumberFormat getCurrencyInstance(Locale inLocale) { in getCurrencyInstance() method in NumberFormat
695 public static NumberFormat getCurrencyInstance(ULocale inLocale) { in getCurrencyInstance() method in NumberFormat
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DNumberFormat.java.patch31 * factory methods: getNumberInstance, getCurrencyInstance or getPercentInstance.
41 * factory methods: getNumberInstance, getCurrencyInstance or getPercentInstance.

12