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.java113 assertEquals("[d, M, y]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "yyyy-M-dd")))); in test_getDateFormatOrder()
114 assertEquals("[y, d, M]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "yyyy-MMM-dd")))); in test_getDateFormatOrder()
115 assertEquals("[d, M, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "MMM-dd")))); in test_getDateFormatOrder()
117 assertEquals("[y, M, d]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "yyyy-M-dd")))); in test_getDateFormatOrder()
118 assertEquals("[d, M, y]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "yyyy-MMM-dd")))); in test_getDateFormatOrder()
119 assertEquals("[d, M, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "MMM-dd")))); in test_getDateFormatOrder()
123 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-M-dd")))); in test_getDateFormatOrder()
124 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-MMM-dd")))); in test_getDateFormatOrder()
125 assertEquals("[M, d, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "MMM-dd")))); in test_getDateFormatOrder()
127 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.java391 public static char[] getDateFormatOrder(String pattern) { in getDateFormatOrder() method in ICU