/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestTextPrinter.java | 91 getFormatter(DAY_OF_WEEK, TextStyle.FULL).formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 96 getFormatter(DAY_OF_WEEK, TextStyle.FULL).formatTo(LocalDate.of(2012, 4, 18), buf); in test_print_append() 104 {DAY_OF_WEEK, TextStyle.FULL, 1, "Monday"}, in provider_dow() 105 {DAY_OF_WEEK, TextStyle.FULL, 2, "Tuesday"}, in provider_dow() 106 {DAY_OF_WEEK, TextStyle.FULL, 3, "Wednesday"}, in provider_dow() 107 {DAY_OF_WEEK, TextStyle.FULL, 4, "Thursday"}, in provider_dow() 108 {DAY_OF_WEEK, TextStyle.FULL, 5, "Friday"}, in provider_dow() 109 {DAY_OF_WEEK, TextStyle.FULL, 6, "Saturday"}, in provider_dow() 110 {DAY_OF_WEEK, TextStyle.FULL, 7, "Sunday"}, in provider_dow() 128 {DAY_OF_MONTH, TextStyle.FULL, 1, "1"}, in provider_dow() [all …]
|
D | TestDateTimeTextProviderWithLocale.java | 104 {DAY_OF_WEEK, 1, TextStyle.FULL, ptBR, "segunda-feira"}, in data_text() 105 {DAY_OF_WEEK, 2, TextStyle.FULL, ptBR, "ter\u00E7a-feira"}, in data_text() 106 {DAY_OF_WEEK, 3, TextStyle.FULL, ptBR, "quarta-feira"}, in data_text() 107 {DAY_OF_WEEK, 4, TextStyle.FULL, ptBR, "quinta-feira"}, in data_text() 108 {DAY_OF_WEEK, 5, TextStyle.FULL, ptBR, "sexta-feira"}, in data_text() 109 {DAY_OF_WEEK, 6, TextStyle.FULL, ptBR, "s\u00E1bado"}, in data_text() 110 {DAY_OF_WEEK, 7, TextStyle.FULL, ptBR, "domingo"}, in data_text() 125 {MONTH_OF_YEAR, 1, TextStyle.FULL, ptBR, "janeiro"}, in data_text() 126 {MONTH_OF_YEAR, 2, TextStyle.FULL, ptBR, "fevereiro"}, in data_text() 127 {MONTH_OF_YEAR, 3, TextStyle.FULL, ptBR, "mar\u00E7o"}, in data_text() [all …]
|
D | TestDateTimeTextProvider.java | 96 {DAY_OF_WEEK, 1, TextStyle.FULL, enUS, "Monday"}, in data_text() 97 {DAY_OF_WEEK, 2, TextStyle.FULL, enUS, "Tuesday"}, in data_text() 98 {DAY_OF_WEEK, 3, TextStyle.FULL, enUS, "Wednesday"}, in data_text() 99 {DAY_OF_WEEK, 4, TextStyle.FULL, enUS, "Thursday"}, in data_text() 100 {DAY_OF_WEEK, 5, TextStyle.FULL, enUS, "Friday"}, in data_text() 101 {DAY_OF_WEEK, 6, TextStyle.FULL, enUS, "Saturday"}, in data_text() 102 {DAY_OF_WEEK, 7, TextStyle.FULL, enUS, "Sunday"}, in data_text() 117 {MONTH_OF_YEAR, 1, TextStyle.FULL, enUS, "January"}, in data_text() 118 {MONTH_OF_YEAR, 2, TextStyle.FULL, enUS, "February"}, in data_text() 119 {MONTH_OF_YEAR, 3, TextStyle.FULL, enUS, "March"}, in data_text() [all …]
|
D | TestTextParser.java | 93 {DAY_OF_WEEK, TextStyle.FULL, "Monday", -1, IndexOutOfBoundsException.class}, in data_error() 94 {DAY_OF_WEEK, TextStyle.FULL, "Monday", 7, IndexOutOfBoundsException.class}, in data_error() 110 assertEquals(getFormatter(DAY_OF_WEEK, TextStyle.FULL) in test_parse_midStr() 128 getFormatter(DAY_OF_WEEK, TextStyle.FULL).parseUnresolved("Munday", pos); in test_parse_noMatch1() 136 getFormatter(DAY_OF_WEEK, TextStyle.FULL).parseUnresolved("Monday", pos); in test_parse_noMatch2() 144 getFormatter(DAY_OF_WEEK, TextStyle.FULL).parseUnresolved("Monday", pos); in test_parse_noMatch_atEnd() 153 {DAY_OF_WEEK, TextStyle.FULL, 1, "Monday"}, in provider_text() 154 {DAY_OF_WEEK, TextStyle.FULL, 2, "Tuesday"}, in provider_text() 155 {DAY_OF_WEEK, TextStyle.FULL, 3, "Wednesday"}, in provider_text() 156 {DAY_OF_WEEK, TextStyle.FULL, 4, "Thursday"}, in provider_text() [all …]
|
D | TestDateTimeFormatterBuilderWithLocale.java | 164 …{FormatStyle.FULL, FormatStyle.FULL, IsoChronology.INSTANCE, Locale.FRENCH, "EEEE d MMMM y '\u00e0… in localizedDateTimePatterns() 168 {FormatStyle.FULL, null, IsoChronology.INSTANCE, Locale.FRENCH, "EEEE d MMMM y"}, in localizedDateTimePatterns() 172 {null, FormatStyle.FULL, IsoChronology.INSTANCE, Locale.FRENCH, "HH:mm:ss zzzz"}, in localizedDateTimePatterns() 178 …{FormatStyle.FULL, FormatStyle.FULL, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u670… in localizedDateTimePatterns() 182 …{FormatStyle.FULL, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5EEEE… in localizedDateTimePatterns() 186 …{null, FormatStyle.FULL, JapaneseChronology.INSTANCE, Locale.JAPANESE, "H\u6642mm\u5206ss\u79d2 zz… in localizedDateTimePatterns() 196 …{FormatStyle.FULL, FormatStyle.FULL, MinguoChronology.INSTANCE, Locale.CHINESE, "Gy\u5e74M\u6708d\… in localizedDateTimePatterns() 202 … {FormatStyle.FULL, null, MinguoChronology.INSTANCE, Locale.CHINESE, "Gy\u5e74M\u6708d\u65e5EEEE"}, in localizedDateTimePatterns() 212 {null, FormatStyle.FULL, MinguoChronology.INSTANCE, Locale.CHINESE, "zzzz HH:mm:ss"}, in localizedDateTimePatterns()
|
D | TestZoneTextPrinterParser.java | 125 printText(locale, zdt, TextStyle.FULL, tz, in test_printText() 172 parseText(zids, locale, TextStyle.FULL, false); in test_ParseText() 173 parseText(zids, locale, TextStyle.FULL, true); in test_ParseText() 216 … {"Asia/Macau", "China Standard Time", preferred, Locale.ENGLISH, TextStyle.FULL}, in data_preferredZones() 244 style == TextStyle.FULL ? " full" :"short", in test_ParseText() 263 int i = style == TextStyle.FULL ? 1 : 2; in parseText() 288 style == TextStyle.FULL ? " full" :"short", in parse()
|
D | TestUnicodeExtension.java | 817 {Locale.US, FormatStyle.FULL, "EEEE, MMMM d, y 'at' h:mm:ss a zzzz"}, in getLocalizedDateTimePattern() 821 {RG_GB, FormatStyle.FULL, "EEEE, d MMMM y 'at' HH:mm:ss zzzz"}, in getLocalizedDateTimePattern() 856 DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.FULL) in test_localizedBy() 879 DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.FULL) in test_withLocale() 934 DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.FULL) in test_shortTZID()
|
D | TestNonIsoFormatter.java | 159 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_formatLocalizedDate() 169 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_parseLocalizedText() 179 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_parseInvalidText()
|
D | TestTextPrinterWithLocale.java | 139 …getFormatter(MONTH_OF_YEAR, TextStyle.FULL).withLocale(Locale.FRENCH).formatTo(LocalDate.of(2012, … in test_print_french_long() 151 …{ERA, TextStyle.FULL, 2, "Heisei"}, // Note: CLDR doesn't define "wide" Japanese era nam… in provider_japaneseEra()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeTextPrinting.java | 98 {DAY_OF_WEEK, TextStyle.FULL, 1, "Monday"}, in data_text() 99 {DAY_OF_WEEK, TextStyle.FULL, 2, "Tuesday"}, in data_text() 100 {DAY_OF_WEEK, TextStyle.FULL, 3, "Wednesday"}, in data_text() 101 {DAY_OF_WEEK, TextStyle.FULL, 4, "Thursday"}, in data_text() 102 {DAY_OF_WEEK, TextStyle.FULL, 5, "Friday"}, in data_text() 103 {DAY_OF_WEEK, TextStyle.FULL, 6, "Saturday"}, in data_text() 104 {DAY_OF_WEEK, TextStyle.FULL, 7, "Sunday"}, in data_text() 114 {DAY_OF_MONTH, TextStyle.FULL, 1, "1"}, in data_text() 115 {DAY_OF_MONTH, TextStyle.FULL, 2, "2"}, in data_text() 116 {DAY_OF_MONTH, TextStyle.FULL, 3, "3"}, in data_text() [all …]
|
D | TCKLocalizedPrinterParser.java | 137 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.UK}, in data_date() 138 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.US}, in data_date() 139 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.FRANCE}, in data_date() 140 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.JAPAN}, in data_date()
|
D | TCKOffsetPrinterParser.java | 447 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_UTC, "GMT"}, in data_print_localized() 448 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_P0100, "GMT+01:00"}, in data_print_localized() 449 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_P0123, "GMT+01:23"}, in data_print_localized() 450 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_P0023, "GMT+00:23"}, in data_print_localized() 451 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_P012345, "GMT+01:23:45"}, in data_print_localized() 452 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M000045, "GMT-00:00:45"}, in data_print_localized() 453 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M0100, "GMT-01:00"}, in data_print_localized() 454 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M0123, "GMT-01:23"}, in data_print_localized() 455 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M0023, "GMT-00:23"}, in data_print_localized() 456 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M012345, "GMT-01:23:45"}, in data_print_localized() [all …]
|
D | TCKTextStyle.java | 77 assertEquals(TextStyle.FULL, TextStyle.FULL_STANDALONE.asNormal()); in test_standaloneNormal() 89 assertTrue(!TextStyle.FULL.isStandalone()); in test_standaloneNormal()
|
D | TCKFormatStyle.java | 102 …ime.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), ZONEID_PARIS), FormatStyle.FULL, "Tuesday 2 October… in data_formatStyle() 107 …Time.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), OFFSET_PTWO), FormatStyle.FULL, "Tuesday 2 October… in data_formatStyle()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestEraDisplayName.java | 68 { IsoEra.BCE, TextStyle.FULL, Locale.US, "Before Christ" }, in eraDisplayName() 69 { IsoEra.CE, TextStyle.FULL, Locale.US, "Anno Domini" }, in eraDisplayName() 70 { IsoEra.BCE, TextStyle.FULL, Locale.JAPAN, "\u7d00\u5143\u524d" }, in eraDisplayName() 71 { IsoEra.CE, TextStyle.FULL, Locale.JAPAN, "\u897f\u66a6" }, in eraDisplayName() 82 { JapaneseEra.MEIJI, TextStyle.FULL, Locale.US, "Meiji" }, in eraDisplayName() 83 { JapaneseEra.TAISHO, TextStyle.FULL, Locale.US, "Taish\u014d" }, in eraDisplayName() 84 { JapaneseEra.SHOWA, TextStyle.FULL, Locale.US, "Sh\u014dwa" }, in eraDisplayName() 85 { JapaneseEra.HEISEI, TextStyle.FULL, Locale.US, "Heisei" }, in eraDisplayName() 86 { JapaneseEra.REIWA, TextStyle.FULL, Locale.US, "Reiwa" }, in eraDisplayName() 87 { JapaneseEra.MEIJI, TextStyle.FULL, Locale.JAPAN, "\u660e\u6cbb" }, in eraDisplayName() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DateFormatTest.java | 125 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.FULL); in test_getDateInstanceI() 128 DateFormat.FULL, Locale.getDefault()))); in test_getDateInstanceI() 171 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.FULL, in test_getDateInstanceILjava_util_Locale() 224 testDateTime(DateFormat.SHORT, DateFormat.FULL); in test_getDateTimeInstanceII() 229 testDateTime(DateFormat.MEDIUM, DateFormat.FULL); in test_getDateTimeInstanceII() 234 testDateTime(DateFormat.LONG, DateFormat.FULL); in test_getDateTimeInstanceII() 236 testDateTime(DateFormat.FULL, DateFormat.SHORT); in test_getDateTimeInstanceII() 237 testDateTime(DateFormat.FULL, DateFormat.MEDIUM); in test_getDateTimeInstanceII() 238 testDateTime(DateFormat.FULL, DateFormat.LONG); in test_getDateTimeInstanceII() 239 testDateTime(DateFormat.FULL, DateFormat.FULL); in test_getDateTimeInstanceII() [all …]
|
/libcore/luni/src/main/java/libcore/icu/ |
D | SimpleDateFormatData.java | 61 android.icu.text.DateFormat.NONE, android.icu.text.DateFormat.FULL); in SimpleDateFormatData() 81 android.icu.text.DateFormat.FULL, android.icu.text.DateFormat.NONE); in SimpleDateFormatData() 141 case DateFormat.FULL: in getDateFormat() 174 case DateFormat.FULL: in getTimeFormat()
|
/libcore/luni/src/test/java/libcore/highmemorytest/libcore/icu/ |
D | SimpleDateFormatDataTest.java | 45 assertNotEquals(0, d.getDateFormat(DateFormat.FULL).length()); in testLongDateTimeFormat() 50 assertNotEquals(0, d.getTimeFormat(DateFormat.FULL).length()); in testLongDateTimeFormat()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronologyDisplayNameTest.java | 54 String displayName = chronology.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testDisplayName() 65 String displayName = era.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testEras()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | FormatStyle.java | 82 FULL, enumConstant
|
D | TextStyle.java | 96 FULL(Calendar.LONG_FORMAT, 0), enumConstant
|
/libcore/luni/src/test/java/libcore/highmemorytest/java/text/ |
D | DateFormatTest.java | 58 for (int formatStyle = DateFormat.FULL; formatStyle <= DateFormat.SHORT; in test_format_allLocales() 77 for (int formatStyle = DateFormat.FULL; formatStyle <= DateFormat.SHORT; in test_toPattern_allLocales()
|
/libcore/luni/src/test/java/libcore/java/time/format/ |
D | DateTimeFormatterBuilderTest.java | 98 .appendGenericZoneText(TextStyle.FULL) in test_appendGenericZoneText() 112 .appendGenericZoneText(TextStyle.FULL, Set.of(ZoneId.of("America/Los_Angeles"))) in test_appendGenericZoneText()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Exchanger.java | 278 static final int FULL = (NCPU >= (MMASK << 1)) ? MMASK : NCPU >>> 1; field in Exchanger 431 else if ((c = p.collides) < m || m == FULL || in arenaExchange() 472 arena = new Node[(FULL + 2) << ASHIFT]; in slotExchange()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZoneId.java | 235 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), id); in factory_of_String_offsetBasedValid_noPrefix() 283 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("UTC" + id)); in factory_of_String_offsetBasedValid_prefixUTC() 294 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("GMT" + id)); in factory_of_String_offsetBasedValid_prefixGMT() 305 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("UT" + id)); in factory_of_String_offsetBasedValid_prefixUT()
|