Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java93 assertEquals("[d, M, y]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "yyyy-M-dd")))); in test_getDateFormatOrder()
94 assertEquals("[y, d, M]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "yyyy-MMM-dd")))); in test_getDateFormatOrder()
95 assertEquals("[d, M, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "MMM-dd")))); in test_getDateFormatOrder()
97 assertEquals("[y, M, d]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "yyyy-M-dd")))); in test_getDateFormatOrder()
98 assertEquals("[d, M, y]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "yyyy-MMM-dd")))); in test_getDateFormatOrder()
99 assertEquals("[d, M, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "MMM-dd")))); in test_getDateFormatOrder()
103 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-M-dd")))); in test_getDateFormatOrder()
104 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-MMM-dd")))); in test_getDateFormatOrder()
105 assertEquals("[M, d, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "MMM-dd")))); in test_getDateFormatOrder()
107 assertEquals("[d, M, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_GB, "yyyy-M-dd")))); in test_getDateFormatOrder()
[all …]
/libcore/luni/src/main/java/libcore/icu/
DICU.java324 public static char[] getDateFormatOrder(String pattern) { in getDateFormatOrder() method in ICU