Home
last modified time | relevance | path

Searched refs:getBestDateTimePattern (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java48 assertEquals("d MMMM", ICU.getBestDateTimePattern("MMMMd", new Locale("ca", "ES"))); in test_getBestDateTimePattern()
49 assertEquals("d 'de' MMMM", ICU.getBestDateTimePattern("MMMMd", new Locale("es", "ES"))); in test_getBestDateTimePattern()
50 assertEquals("d. MMMM", ICU.getBestDateTimePattern("MMMMd", new Locale("de", "CH"))); in test_getBestDateTimePattern()
51 assertEquals("MMMM d", ICU.getBestDateTimePattern("MMMMd", new Locale("en", "US"))); in test_getBestDateTimePattern()
52 assertEquals("d LLLL", ICU.getBestDateTimePattern("MMMMd", new Locale("fa", "IR"))); in test_getBestDateTimePattern()
53 assertEquals("M月d日", ICU.getBestDateTimePattern("MMMMd", new Locale("ja", "JP"))); in test_getBestDateTimePattern()
87 return ICU.getBestDateTimePattern(skeleton, l); in best()
/libcore/luni/src/main/java/libcore/icu/
DICU.java296 return getBestDateTimePattern(skeleton, locale); in getTimePattern()
300 public static String getBestDateTimePattern(String skeleton, Locale locale) { in getBestDateTimePattern() method in ICU