Home
last modified time | relevance | path

Searched refs:getNumberFormat (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java294 assertEquals("($1)", metadata.getNumberFormat(0).getNationalPrefixFormattingRule()); in testLoadAvailableFormats()
295 assertEquals("0 $CC ($1)", metadata.getNumberFormat(0).getDomesticCarrierCodeFormattingRule()); in testLoadAvailableFormats()
296 assertEquals("$1 $2 $3", metadata.getNumberFormat(0).getFormat()); in testLoadAvailableFormats()
313 assertEquals("($1)", metadata.getNumberFormat(0).getNationalPrefixFormattingRule()); in testLoadAvailableFormatsPropagatesCarrierCodeFormattingRule()
314 assertEquals("0 $CC ($1)", metadata.getNumberFormat(0).getDomesticCarrierCodeFormattingRule()); in testLoadAvailableFormatsPropagatesCarrierCodeFormattingRule()
315 assertEquals("$1 $2 $3", metadata.getNumberFormat(0).getFormat()); in testLoadAvailableFormatsPropagatesCarrierCodeFormattingRule()
329 assertEquals("($1)", metadata.getNumberFormat(0).getNationalPrefixFormattingRule()); in testLoadAvailableFormatsSetsProvidedNationalPrefixFormattingRule()
358 assertEquals("$1 $2 $3", metadata.getNumberFormat(0).getFormat()); in testLoadAvailableFormatsHandlesMultipleNumberFormats()
359 assertEquals("$1-$2", metadata.getNumberFormat(1).getFormat()); in testLoadAvailableFormatsHandlesMultipleNumberFormats()
408 assertEquals(1, metadata.getNumberFormat(0).leadingDigitsPatternSize()); in testSetLeadingDigitsPatternsNotAddedTwiceWhenInternationalFormatsPresent()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DGlobalizationPreferencesTest.java111 NumberFormat nf = gp.getNumberFormat(GlobalizationPreferences.NF_NUMBER); in TestDefault()
1409 nf = gp.getNumberFormat(GlobalizationPreferences.NF_CURRENCY); in TestNumberFormat()
1421 nf = gp.getNumberFormat(GlobalizationPreferences.NF_NUMBER); in TestNumberFormat()
1429 nf = gp.getNumberFormat(GlobalizationPreferences.NF_CURRENCY); in TestNumberFormat()
1437 nf = gp.getNumberFormat(GlobalizationPreferences.NF_PERCENT); in TestNumberFormat()
1445 nf = gp.getNumberFormat(GlobalizationPreferences.NF_SCIENTIFIC); in TestNumberFormat()
1453 nf = gp.getNumberFormat(GlobalizationPreferences.NF_INTEGER); in TestNumberFormat()
1463 nf = gp.getNumberFormat(100); in TestNumberFormat()
1473 nf = gp.getNumberFormat(-1); in TestNumberFormat()
1485 nf = gp.getNumberFormat(GlobalizationPreferences.NF_CURRENCY); in TestNumberFormat()
[all …]
DIntlTestDateFormatAPI.java204 final NumberFormat nf = def.getNumberFormat(); in TestAPI()
208 if( ! de.getNumberFormat().equals(it.getNumberFormat())) { in TestAPI()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java108 NumberFormat nf = gp.getNumberFormat(GlobalizationPreferences.NF_NUMBER); in TestDefault()
1406 nf = gp.getNumberFormat(GlobalizationPreferences.NF_CURRENCY); in TestNumberFormat()
1418 nf = gp.getNumberFormat(GlobalizationPreferences.NF_NUMBER); in TestNumberFormat()
1426 nf = gp.getNumberFormat(GlobalizationPreferences.NF_CURRENCY); in TestNumberFormat()
1434 nf = gp.getNumberFormat(GlobalizationPreferences.NF_PERCENT); in TestNumberFormat()
1442 nf = gp.getNumberFormat(GlobalizationPreferences.NF_SCIENTIFIC); in TestNumberFormat()
1450 nf = gp.getNumberFormat(GlobalizationPreferences.NF_INTEGER); in TestNumberFormat()
1460 nf = gp.getNumberFormat(100); in TestNumberFormat()
1470 nf = gp.getNumberFormat(-1); in TestNumberFormat()
1482 nf = gp.getNumberFormat(GlobalizationPreferences.NF_CURRENCY); in TestNumberFormat()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormatAPI.java201 final NumberFormat nf = def.getNumberFormat(); in TestAPI()
205 if( ! de.getNumberFormat().equals(it.getNumberFormat())) { in TestAPI()
/third_party/icu/icu4c/source/test/intltest/
Ddtfmapts.cpp237 const NumberFormat *nf = def->getNumberFormat(); in testAPI()
241 if( *(de->getNumberFormat()) != *(it->getNumberFormat())) { in testAPI()
320 sdf.getNumberFormat(); in TestNameHiding()
/third_party/icu/icu4c/source/i18n/
Dwinnmfmt.cpp83 static void getNumberFormat(NUMBERFMTW *fmt, const wchar_t *windowsLocaleName) in getNumberFormat() function
246 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat()
297 getNumberFormat(&fFormatInfo->number, localeName); in operator =()
Dnfsubs.h55 const DecimalFormat* getNumberFormat() const { return numberFormat; } in getNumberFormat() function
/third_party/skia/third_party/externals/icu/source/i18n/
Dwinnmfmt.cpp83 static void getNumberFormat(NUMBERFMTW *fmt, const wchar_t *windowsLocaleName) in getNumberFormat() function
241 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat()
292 getNumberFormat(&fFormatInfo->number, localeName); in operator =()
Dnfsubs.h55 const DecimalFormat* getNumberFormat() const { return numberFormat; } in getNumberFormat() function
/third_party/node/deps/icu-small/source/i18n/
Dwinnmfmt.cpp83 static void getNumberFormat(NUMBERFMTW *fmt, const wchar_t *windowsLocaleName) in getNumberFormat() function
241 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat()
292 getNumberFormat(&fFormatInfo->number, localeName); in operator =()
Dnfsubs.h55 const DecimalFormat* getNumberFormat() const { return numberFormat; } in getNumberFormat() function
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dwinnmfmt.cpp83 static void getNumberFormat(NUMBERFMTW *fmt, const wchar_t *windowsLocaleName) in getNumberFormat() function
241 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat()
291 getNumberFormat(&fFormatInfo->number, localeName); in operator =()
Dnfsubs.h55 const DecimalFormat* getNumberFormat() const { return numberFormat; } in getNumberFormat() function
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DTimer.java59 public DecimalFormat getNumberFormat() { in getNumberFormat() method in Timer
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
DTimer.java62 public DecimalFormat getNumberFormat() { in getNumberFormat() method in Timer
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dreldatefmt.h495 const NumberFormat& getNumberFormat() const;
Dmeasfmt.h325 const NumberFormat &getNumberFormat() const;
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java227 public NumberFormat getNumberFormat() { in getNumberFormat() method in SimpleDateFormatICU
228 com.ibm.icu.text.NumberFormat nfmt = fIcuSdf.getNumberFormat(); in getNumberFormat()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dreldatefmt.h677 const NumberFormat& getNumberFormat() const;
Ddatefmt.h757 virtual const NumberFormat* getNumberFormat(void) const;
/third_party/node/deps/icu-small/source/i18n/unicode/
Dreldatefmt.h677 const NumberFormat& getNumberFormat() const;
Ddatefmt.h757 virtual const NumberFormat* getNumberFormat(void) const;
/third_party/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h677 const NumberFormat& getNumberFormat() const;
Ddatefmt.h757 virtual const NumberFormat* getNumberFormat(void) const;

1234