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 114 LocaleData en_US = LocaleData.get(Locale.US);
115 assertEquals("h:mm a", en_US.timeFormat12);
116 assertEquals("HH:mm", en_US.timeFormat24);
ICUTest.java 48 assertEquals("MMMM d", ICU.getBestDateTimePattern("MMMMd", "en_US"));
59 assertEquals(Locale.US, ICU.localeFromString("en_US"));
68 assertEquals("Latn", ICU.getScript(ICU.addLikelySubtags("en_US")));
91 Locale en_US = Locale.US;
92 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-M-dd"))));
93 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-MMM-dd"))));
94 assertEquals("[M, d, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "MMM-dd"))));
DateIntervalFormatTest.java 58 Locale en_US = new Locale("en", "US");
62 assertEquals("Monday", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_WEEKDAY));
63 assertEquals("January 19", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE));
64 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_SHOW_TIME));
65 assertEquals("January 19, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_YEAR));
66 assertEquals("January 19", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_NO_YEAR));
67 assertEquals("January", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_NO_MONTH_DAY));
68 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR | FORMAT_SHOW_TIME));
69 assertEquals("03:30", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_24HOUR | FORMAT_SHOW_TIME));
70 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR /*| FORMAT_CAP_AMPM*/ | FORMAT_SHOW_TIME))
    [all...]
  /external/icu4c/test/intltest/
locnmtst.cpp 267 static char en_US[] = "en_US";
286 { "da", UDISPCTX_STANDARD_NAMES, UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE, en_US, daFor_en_US },
287 { "da", UDISPCTX_DIALECT_NAMES, UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE, en_US, daFor_en_US_D },
289 { "es", UDISPCTX_STANDARD_NAMES, UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE, en_US, esFor_en_US },
290 { "es", UDISPCTX_DIALECT_NAMES, UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE, en_US, esFor_en_US_D },
293 { "da", UDISPCTX_STANDARD_NAMES, UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE, en_US, daFor_en_US_T },
294 { "da", UDISPCTX_DIALECT_NAMES, UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE, en_US, daFor_en_US_DT },
296 { "es", UDISPCTX_STANDARD_NAMES, UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE, en_US, esFor_en_US_T },
297 { "es", UDISPCTX_DIALECT_NAMES, UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU, en_US, esFor_en_US_DT }
    [all...]
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 408 Collator *en_US = Collator::createInstance("en_US", status),
417 /* there is no reason to have canonical decomposition in en_US OR default locale */
428 if (en_US->getAttribute(UCOL_NORMALIZATION_MODE, status) != UCOL_OFF)
430 errln("ERROR: en_US collation had canonical decomposition for normalization!\n");
433 delete en_US;
450 someCollators[0] = Collator::createInstance("en_US", err);
    [all...]
  /external/chromium_org/third_party/icu/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 399 Collator *en_US = Collator::createInstance("en_US", status),
408 /* there is no reason to have canonical decomposition in en_US OR default locale */
419 if (en_US->getAttribute(UCOL_NORMALIZATION_MODE, status) != UCOL_OFF)
421 errln("ERROR: en_US collation had canonical decomposition for normalization!\n");
424 delete en_US;
441 someCollators[0] = Collator::createInstance("en_US", err);
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
capitst.c 304 col = ucol_open("en_US", &status);
376 len=ucol_getDisplayName("en_US", "de_DE", NULL, 0, &status);
380 ucol_getDisplayName("en_US", "de_DE", disName, len+1, &status);
432 len=ucol_getDisplayName("fr_FR", "en_US", NULL, 0, &status);
436 ucol_getDisplayName("fr_FR", "en_US", disName, len+1, &status);
522 col2 = ucol_open("en_US", &status);
524 log_err("en_US Collator creation failed.: %s\n", myErrorName(status));
576 col = ucol_open("en_US", &status);
619 UCollator *en_US, *el_GR, *vi_VN;
620 en_US = ucol_open("en_US", &status)
    [all...]
  /external/icu4c/test/cintltst/
capitst.c 301 col = ucol_open("en_US", &status);
367 len=ucol_getDisplayName("en_US", "de_DE", NULL, 0, &status);
371 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);
519 col2 = ucol_open("en_US", &status);
521 log_err("en_US Collator creation failed.: %s\n", myErrorName(status));
573 col = ucol_open("en_US", &status);
616 UCollator *en_US, *el_GR, *vi_VN;
617 en_US = ucol_open("en_US", &status)
    [all...]

Completed in 457 milliseconds