HomeSort by relevance Sort by last modified time
    Searched defs:en_US (Results 1 - 10 of 10) sorted by null

  /libcore/luni/src/test/java/libcore/icu/
LocaleDataTest.java 126 LocaleData en_US = LocaleData.get(Locale.US);
127 assertEquals("h:mm a", en_US.timeFormat_hm);
128 assertEquals("HH:mm", en_US.timeFormat_Hm);
ICUTest.java 62 assertEquals(Locale.US, ICU.localeFromIcuLocaleId("en_US"));
71 assertEquals("Latn", ICU.getScript(ICU.addLikelySubtags("en_US")));
102 Locale en_US = Locale.US;
103 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-M-dd"))));
104 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-MMM-dd"))));
105 assertEquals("[M, d, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "MMM-dd"))));
RelativeDateTimeFormatterTest.java 41 Locale en_US = new Locale("en", "US");
43 Calendar cal = Calendar.getInstance(tz, en_US);
49 getRelativeTimeSpanString(en_US, tz, baseTime - SECOND_IN_MILLIS, baseTime,
52 getRelativeTimeSpanString(en_US, tz, baseTime + SECOND_IN_MILLIS, baseTime,
56 getRelativeTimeSpanString(en_US, tz, 0, MINUTE_IN_MILLIS, MINUTE_IN_MILLIS, 0));
58 getRelativeTimeSpanString(en_US, tz, MINUTE_IN_MILLIS, 0, MINUTE_IN_MILLIS, 0));
61 getRelativeTimeSpanString(en_US, tz, baseTime - 42 * MINUTE_IN_MILLIS, baseTime,
64 getRelativeTimeSpanString(en_US, tz, baseTime + 42 * MINUTE_IN_MILLIS, baseTime,
69 getRelativeTimeSpanString(en_US, tz, baseTime - TWO_HOURS_IN_MS, baseTime,
72 getRelativeTimeSpanString(en_US, tz, baseTime + TWO_HOURS_IN_MS, baseTime
    [all...]
DateIntervalFormatTest.java 57 ULocale en_US = new ULocale("en", "US");
61 assertEquals("Monday", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_WEEKDAY));
62 assertEquals("January 19", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE));
63 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_SHOW_TIME));
64 assertEquals("January 19, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_YEAR));
65 assertEquals("January 19", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_NO_YEAR));
66 assertEquals("January", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_NO_MONTH_DAY));
67 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR | FORMAT_SHOW_TIME));
68 assertEquals("03:30", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_24HOUR | FORMAT_SHOW_TIME));
69 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR /*| FORMAT_CAP_AMPM*/ | FORMAT_SHOW_TIME))
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
StringTest.java 218 Locale en_US = new Locale("en", "US");
219 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_I.toUpperCase(en_US));
220 assertEquals(LATIN_CAPITAL_I, LATIN_CAPITAL_I.toUpperCase(en_US));
221 assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toUpperCase(en_US));
223 assertEquals(LATIN_SMALL_I, LATIN_SMALL_I.toLowerCase(en_US));
224 assertEquals(LATIN_SMALL_I, LATIN_CAPITAL_I.toLowerCase(en_US));
225 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_SMALL_DOTLESS_I.toLowerCase(en_US));
227 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_DOTLESS_I.toUpperCase(en_US));
230 assertEquals(LATIN_SMALL_I + COMBINING_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toLowerCase(en_US));
239 Locale en_US = new Locale("en", "US")
    [all...]
  /external/icu/icu4c/source/test/intltest/
icusvtst.cpp 53 table.put("en_US", this, status);
334 service.registerInstance(singleton0, "en_US", status);
338 confirmEqual("1) en_US_FOO -> en_US", result, singleton0);
358 confirmEqual("3) en_US_BAR -> en_US", result, singleton0);
375 // stack of factories is now en, en_US_FOO, en_US
376 // search for en_US should still find en_US object
380 confirmEqual("6) en_US_BAR -> en_US", result, singleton0);
386 URegistryKey s3key = service.registerInstance(singleton3, "en_US", status);
632 const UnicodeString en_US = "en_US"
    [all...]
apicoll.cpp 346 Collator *en_US = Collator::createInstance("en_US", status),
355 /* there is no reason to have canonical decomposition in en_US OR default locale */
366 if (en_US->getAttribute(UCOL_NORMALIZATION_MODE, status) != UCOL_OFF)
368 errln("ERROR: en_US collation had canonical decomposition for normalization!\n");
371 delete en_US;
388 someCollators[0] = Collator::createInstance("en_US", err);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationAPITest.java 225 Collator en_US = null, el_GR = null, vi_VN = null;
227 en_US = Collator.getInstance(new Locale("en", "US"));
232 // there is no reason to have canonical decomposition in en_US OR default locale */
243 if (en_US.getDecomposition() != Collator.NO_DECOMPOSITION)
245 errln("en_US collation had cannonical decomposition for normalization!");
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationAPITest.java 221 Collator en_US = null, el_GR = null, vi_VN = null;
223 en_US = Collator.getInstance(new Locale("en", "US"));
228 // there is no reason to have canonical decomposition in en_US OR default locale */
239 if (en_US.getDecomposition() != Collator.NO_DECOMPOSITION)
241 errln("en_US collation had cannonical decomposition for normalization!");
    [all...]
  /external/icu/icu4c/source/test/cintltst/
capitst.c 294 col = ucol_open("en_US", &status);
360 len=ucol_getDisplayName("en_US", "de_DE", NULL, 0, &status);
364 ucol_getDisplayName("en_US", "de_DE", disName, len+1, &status);
429 len=ucol_getDisplayName("fr_FR", "en_US", NULL, 0, &status);
433 ucol_getDisplayName("fr_FR", "en_US", disName, len+1, &status);
518 col2 = ucol_open("en_US", &status);
520 log_err("en_US Collator creation failed.: %s\n", myErrorName(status));
568 col = ucol_open("en_US", &status);
611 UCollator *en_US, *el_GR, *vi_VN;
612 en_US = ucol_open("en_US", &status)
    [all...]

Completed in 308 milliseconds