Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java967 assertEquals("Wrong pattern 1", "0.#", format.toLocalizedPattern()); in test_applyLocalizedPattern()
969 assertEquals("Wrong pattern 2", "0.", format.toLocalizedPattern()); in test_applyLocalizedPattern()
971 assertEquals("Wrong pattern 3", "0", format.toLocalizedPattern()); in test_applyLocalizedPattern()
973 assertEquals("Wrong pattern 4", "#.0", format.toLocalizedPattern()); in test_applyLocalizedPattern()
1006 assertEquals("Wrong pattern 1", "0.#", format.toLocalizedPattern()); in test_toLocalizedPattern()
1008 assertEquals("Wrong pattern 2", "0.", format.toLocalizedPattern()); in test_toLocalizedPattern()
1010 assertEquals("Wrong pattern 3", "0", format.toLocalizedPattern()); in test_toLocalizedPattern()
1012 assertEquals("Wrong pattern 4", "#.0", format.toLocalizedPattern()); in test_toLocalizedPattern()
DSimpleDateFormatTest.java133 assertEquals(pattern, f2.toLocalizedPattern()); in test_applyLocalizedPatternLjava_lang_String()
891 assertEquals(f2.toPattern(), f2.toLocalizedPattern()); in test_toLocalizedPattern()
/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatTest.java604 assertEquals("'AAA'+0;'BBB'-0", df.toLocalizedPattern()); in testPatternSeparator()
613 assertEquals("'AAA'+\u0660\u061b'BBB'-\u0660", df.toLocalizedPattern()); in testPatternSeparator()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java3194 public String toLocalizedPattern() { in toLocalizedPattern() method in DecimalFormat
3197 return icuDecimalFormat.toLocalizedPattern(); in toLocalizedPattern()
DSimpleDateFormat.java2874 public String toLocalizedPattern() { in toLocalizedPattern() method