Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/icu/
DICU.java354 final String skeleton; in getTimePattern() local
356 skeleton = is24Hour ? "Hms" : "hms"; in getTimePattern()
358 skeleton = is24Hour ? "Hm" : "hm"; in getTimePattern()
360 return getBestDateTimePattern(skeleton, locale); in getTimePattern()
367 public static String getBestDateTimePattern(String skeleton, Locale locale) { in getBestDateTimePattern() argument
369 String key = skeleton + "\t" + languageTag; in getBestDateTimePattern()
373 pattern = getBestDateTimePattern0(skeleton, locale); in getBestDateTimePattern()
380 private static String getBestDateTimePattern0(String skeleton, Locale locale) { in getBestDateTimePattern0() argument
382 return dtpg.getBestPattern(skeleton); in getBestDateTimePattern0()
386 private static String getBestDateTimePatternNative(String skeleton, String languageTag) { in getBestDateTimePatternNative() argument
[all …]
/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java106 private String best(Locale l, String skeleton) { in best() argument
107 return ICU.getBestDateTimePattern(skeleton, l); in best()