Home
last modified time | relevance | path

Searched refs:getCurrencyFormat (Results 1 - 14 of 14) sorted by relevance

/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
H A DCurrencyDemo.java35 static NumberFormat getCurrencyFormat(Currency currency, in getCurrencyFormat() method in CurrencyDemo
93 NumberFormat nf26 = getCurrencyFormat(Currency.getInstance(testCurrencies[j]), testLocales[i], true); in testFormatHack()
98 NumberFormat nf24 = getCurrencyFormat(Currency.getInstance(testCurrencies[j]), testLocales[i], false); in testFormatHack()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DMeasureFormat.java189 * The default format width for getCurrencyFormat(), which is to show the symbol for currency
192 * @internal Use {@link #getCurrencyFormat()}
569 public static MeasureFormat getCurrencyFormat(ULocale locale) { in getCurrencyFormat() method in MeasureFormat
581 public static MeasureFormat getCurrencyFormat(Locale locale) { in getCurrencyFormat() method in MeasureFormat
582 return getCurrencyFormat(ULocale.forLocale(locale)); in getCurrencyFormat()
592 public static MeasureFormat getCurrencyFormat() { in getCurrencyFormat() method in MeasureFormat
593 return getCurrencyFormat(ULocale.getDefault(Category.FORMAT)); in getCurrencyFormat()
1034 return MeasureFormat.getCurrencyFormat(locale); in readResolve()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DMeasureFormat.java178 * The default format width for getCurrencyFormat(), which is to show the symbol for currency
536 public static MeasureFormat getCurrencyFormat(ULocale locale) { in getCurrencyFormat() method in MeasureFormat
547 public static MeasureFormat getCurrencyFormat(Locale locale) { in getCurrencyFormat() method in MeasureFormat
548 return getCurrencyFormat(ULocale.forLocale(locale)); in getCurrencyFormat()
557 public static MeasureFormat getCurrencyFormat() { in getCurrencyFormat() method in MeasureFormat
558 return getCurrencyFormat(ULocale.getDefault(Category.FORMAT)); in getCurrencyFormat()
999 return MeasureFormat.getCurrencyFormat(locale); in readResolve()
/third_party/node/deps/icu-small/source/i18n/
H A Dwinnmfmt.cpp113 static void getCurrencyFormat(CURRENCYFMTW *fmt, const wchar_t *windowsLocaleName) in getCurrencyFormat() function
245 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat()
295 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
H A Dmeasfmt.cpp131 const NumberFormat *getCurrencyFormat(UMeasureFormatWidth width) const { in getCurrencyFormat() function in MeasureFormatCacheData
659 return *cache->getCurrencyFormat(UMEASFMT_WIDTH_NARROW); in getCurrencyFormatInternal()
688 return cache->getCurrencyFormat(fWidth)->format( in formatMeasure()
/third_party/icu/icu4c/source/i18n/
H A Dwinnmfmt.cpp110 static void getCurrencyFormat(CURRENCYFMTW *fmt, const wchar_t *windowsLocaleName) in getCurrencyFormat() function
244 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat()
294 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
H A Dmeasfmt.cpp131 const NumberFormat *getCurrencyFormat(UMeasureFormatWidth width) const { in getCurrencyFormat() function in MeasureFormatCacheData
659 return *cache->getCurrencyFormat(UMEASFMT_WIDTH_NARROW); in getCurrencyFormatInternal()
688 return cache->getCurrencyFormat(fWidth)->format( in formatMeasure()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dwinnmfmt.cpp110 static void getCurrencyFormat(CURRENCYFMTW *fmt, const wchar_t *windowsLocaleName) in getCurrencyFormat() function
239 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat()
289 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
H A Dmeasfmt.cpp131 const NumberFormat *getCurrencyFormat(UMeasureFormatWidth width) const { in getCurrencyFormat() function in MeasureFormatCacheData
659 return *cache->getCurrencyFormat(UMEASFMT_WIDTH_NARROW); in getCurrencyFormatInternal()
688 return cache->getCurrencyFormat(fWidth)->format( in formatMeasure()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DMeasureUnitTest.java2491 checkStreamingEquality(MeasureFormat.getCurrencyFormat(ULocale.ITALIAN)); in TestSerial()
2506 MeasureFormat mf = MeasureFormat.getCurrencyFormat(ULocale.ENGLISH); in testCurrencyFormatStandInForMeasureFormat()
2520 MeasureFormat mfu = MeasureFormat.getCurrencyFormat(ULocale.FRANCE); in testCurrencyFormatLocale()
2521 MeasureFormat mfj = MeasureFormat.getCurrencyFormat(Locale.FRANCE); in testCurrencyFormatLocale()
2523 assertEquals("getCurrencyFormat ULocale/Locale", mfu, mfj); in testCurrencyFormatLocale()
2528 MeasureFormat mf = MeasureFormat.getCurrencyFormat(ULocale.ENGLISH); in testCurrencyFormatParseIsoCode()
H A DNumberFormatTest.java592 MeasureFormat curFmt = MeasureFormat.getCurrencyFormat(new ULocale("en_US")); in TestCurrencyFormatForMixParsing()
605 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the number. val=" + val); in TestCurrencyFormatForMixParsing()
608 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the currency"); in TestCurrencyFormatForMixParsing()
723 //Cover MeasureFormat.getCurrencyFormat() in TestCurrency()
726 MeasureFormat curFmt = MeasureFormat.getCurrencyFormat(); in TestCurrency()
733 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the number. val=" + val); in TestCurrency()
736 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the currency"); in TestCurrency()
827 errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
2268 mfmt = MeasureFormat.getCurrencyFormat(l); in TestCases()
2285 assertEquals(where + "getCurrencyFormat(" in TestCases()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DMeasureUnitTest.java3281 checkStreamingEquality(MeasureFormat.getCurrencyFormat(ULocale.ITALIAN)); in TestSerial()
3296 MeasureFormat mf = MeasureFormat.getCurrencyFormat(ULocale.ENGLISH); in testCurrencyFormatStandInForMeasureFormat()
3310 MeasureFormat mfu = MeasureFormat.getCurrencyFormat(ULocale.FRANCE); in testCurrencyFormatLocale()
3311 MeasureFormat mfj = MeasureFormat.getCurrencyFormat(Locale.FRANCE); in testCurrencyFormatLocale()
3313 assertEquals("getCurrencyFormat ULocale/Locale", mfu, mfj); in testCurrencyFormatLocale()
3318 MeasureFormat mf = MeasureFormat.getCurrencyFormat(ULocale.ENGLISH); in testCurrencyFormatParseIsoCode()
H A DNumberFormatTest.java589 MeasureFormat curFmt = MeasureFormat.getCurrencyFormat(new ULocale("en_US")); in TestCurrencyFormatForMixParsing()
602 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the number. val=" + val); in TestCurrencyFormatForMixParsing()
605 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the currency"); in TestCurrencyFormatForMixParsing()
720 //Cover MeasureFormat.getCurrencyFormat() in TestCurrency()
723 MeasureFormat curFmt = MeasureFormat.getCurrencyFormat(); in TestCurrency()
730 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the number. val=" + val); in TestCurrency()
733 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the currency"); in TestCurrency()
824 errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
2265 mfmt = MeasureFormat.getCurrencyFormat(l); in TestCases()
2282 assertEquals(where + "getCurrencyFormat(" in TestCases()
[all...]
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 32 milliseconds