Searched refs:en_US (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | DateIntervalFormatTest.java | 61 ULocale en_US = new ULocale("en", "US"); in test_formatDateInterval() local 65 …assertEquals("Monday", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_WEEKDAY… in test_formatDateInterval() 66 …assertEquals("January 19", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + H… in test_formatDateInterval() 67 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_SHOW_TIME)); in test_formatDateInterval() 68 …assertEquals("January 19, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SH… in test_formatDateInterval() 69 …assertEquals("January 19", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_NO_YEAR)… in test_formatDateInterval() 70 …assertEquals("January", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR… in test_formatDateInterval() 71 …assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR | FORMAT_SH… in test_formatDateInterval() 72 …assertEquals("03:30", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_24HOUR | FORMAT_SHOW… in test_formatDateInterval() 73 …assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR /*| FORMAT_… in test_formatDateInterval() [all …]
|
D | ICUTest.java | 102 Locale en_US = Locale.US; in test_getDateFormatOrder() local 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()
|
D | LocaleDataTest.java | 143 LocaleData en_US = LocaleData.get(Locale.US); in testTimeFormat12And24() local 145 assertEquals("h:mm a", en_US.getTimeFormat(DateFormat.SHORT)); in testTimeFormat12And24() 147 assertEquals("HH:mm", en_US.getTimeFormat(DateFormat.SHORT)); in testTimeFormat12And24()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 226 Locale en_US = new Locale("en", "US"); in testCaseMapping_en_US() local 227 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_I.toUpperCase(en_US)); in testCaseMapping_en_US() 228 assertEquals(LATIN_CAPITAL_I, LATIN_CAPITAL_I.toUpperCase(en_US)); in testCaseMapping_en_US() 229 … assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toUpperCase(en_US)); in testCaseMapping_en_US() 231 assertEquals(LATIN_SMALL_I, LATIN_SMALL_I.toLowerCase(en_US)); in testCaseMapping_en_US() 232 assertEquals(LATIN_SMALL_I, LATIN_CAPITAL_I.toLowerCase(en_US)); in testCaseMapping_en_US() 233 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_SMALL_DOTLESS_I.toLowerCase(en_US)); in testCaseMapping_en_US() 235 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_DOTLESS_I.toUpperCase(en_US)); in testCaseMapping_en_US() 238 …sertEquals(LATIN_SMALL_I + COMBINING_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toLowerCase(en_US)); in testCaseMapping_en_US() 247 Locale en_US = new Locale("en", "US"); in testCaseMapping_el() local [all …]
|