Home
last modified time | relevance | path

Searched refs:toLocalizedPattern (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/text/
DDecimalFormat.java1055 public String toLocalizedPattern() { in toLocalizedPattern() method in DecimalFormat
1056 return ndf.toLocalizedPattern(); in toLocalizedPattern()
DSimpleDateFormat.java1297 public String toLocalizedPattern() { in toLocalizedPattern() method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java943 assertEquals("Wrong pattern 1", "#0.#", format.toLocalizedPattern()); in test_applyLocalizedPattern()
945 assertEquals("Wrong pattern 2", "#0.", format.toLocalizedPattern()); in test_applyLocalizedPattern()
947 assertEquals("Wrong pattern 3", "#", format.toLocalizedPattern()); in test_applyLocalizedPattern()
949 assertEquals("Wrong pattern 4", "#.0", format.toLocalizedPattern()); in test_applyLocalizedPattern()
982 assertEquals("Wrong pattern 1", "#0.#", format.toLocalizedPattern()); in test_toLocalizedPattern()
984 assertEquals("Wrong pattern 2", "#0.", format.toLocalizedPattern()); in test_toLocalizedPattern()
986 assertEquals("Wrong pattern 3", "#", format.toLocalizedPattern()); in test_toLocalizedPattern()
988 assertEquals("Wrong pattern 4", "#.0", format.toLocalizedPattern()); in test_toLocalizedPattern()
DSimpleDateFormatTest.java139 assertEquals(pattern, f2.toLocalizedPattern()); in test_applyLocalizedPatternLjava_lang_String()
785 assertEquals(f2.toPattern(), f2.toLocalizedPattern()); in test_toLocalizedPattern()
/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java387 public String toLocalizedPattern() { in toLocalizedPattern() method in NativeDecimalFormat
/libcore/luni/src/main/native/
Dlibcore_icu_NativeDecimalFormat.cpp217 fmt->toLocalizedPattern(pattern); in NativeDecimalFormat_toPatternImpl()