Home
last modified time | relevance | path

Searched refs:FULL (Results 1 – 25 of 32) sorted by relevance

12

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeTextProvider.java106 {DAY_OF_WEEK, 1, TextStyle.FULL, enUS, "Monday"}, in data_text()
107 {DAY_OF_WEEK, 2, TextStyle.FULL, enUS, "Tuesday"}, in data_text()
108 {DAY_OF_WEEK, 3, TextStyle.FULL, enUS, "Wednesday"}, in data_text()
109 {DAY_OF_WEEK, 4, TextStyle.FULL, enUS, "Thursday"}, in data_text()
110 {DAY_OF_WEEK, 5, TextStyle.FULL, enUS, "Friday"}, in data_text()
111 {DAY_OF_WEEK, 6, TextStyle.FULL, enUS, "Saturday"}, in data_text()
112 {DAY_OF_WEEK, 7, TextStyle.FULL, enUS, "Sunday"}, in data_text()
115 {DAY_OF_WEEK, 1, TextStyle.FULL, ptBR, "segunda-feira"}, in data_text()
116 {DAY_OF_WEEK, 2, TextStyle.FULL, ptBR, "ter\u00E7a-feira"}, in data_text()
117 {DAY_OF_WEEK, 3, TextStyle.FULL, ptBR, "quarta-feira"}, in data_text()
[all …]
DTestTextPrinter.java93 getFormatter(DAY_OF_WEEK, TextStyle.FULL).formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical()
98 getFormatter(DAY_OF_WEEK, TextStyle.FULL).formatTo(LocalDate.of(2012, 4, 18), buf); in test_print_append()
106 {DAY_OF_WEEK, TextStyle.FULL, 1, "Monday"}, in provider_dow()
107 {DAY_OF_WEEK, TextStyle.FULL, 2, "Tuesday"}, in provider_dow()
108 {DAY_OF_WEEK, TextStyle.FULL, 3, "Wednesday"}, in provider_dow()
109 {DAY_OF_WEEK, TextStyle.FULL, 4, "Thursday"}, in provider_dow()
110 {DAY_OF_WEEK, TextStyle.FULL, 5, "Friday"}, in provider_dow()
111 {DAY_OF_WEEK, TextStyle.FULL, 6, "Saturday"}, in provider_dow()
112 {DAY_OF_WEEK, TextStyle.FULL, 7, "Sunday"}, in provider_dow()
130 {DAY_OF_MONTH, TextStyle.FULL, 1, "1"}, in provider_dow()
[all …]
DTestTextParser.java92 {DAY_OF_WEEK, TextStyle.FULL, "Monday", -1, IndexOutOfBoundsException.class}, in data_error()
93 {DAY_OF_WEEK, TextStyle.FULL, "Monday", 7, IndexOutOfBoundsException.class}, in data_error()
109 assertEquals(getFormatter(DAY_OF_WEEK, TextStyle.FULL) in test_parse_midStr()
127 getFormatter(DAY_OF_WEEK, TextStyle.FULL).parseUnresolved("Munday", pos); in test_parse_noMatch1()
135 getFormatter(DAY_OF_WEEK, TextStyle.FULL).parseUnresolved("Monday", pos); in test_parse_noMatch2()
143 getFormatter(DAY_OF_WEEK, TextStyle.FULL).parseUnresolved("Monday", pos); in test_parse_noMatch_atEnd()
152 {DAY_OF_WEEK, TextStyle.FULL, 1, "Monday"}, in provider_text()
153 {DAY_OF_WEEK, TextStyle.FULL, 2, "Tuesday"}, in provider_text()
154 {DAY_OF_WEEK, TextStyle.FULL, 3, "Wednesday"}, in provider_text()
155 {DAY_OF_WEEK, TextStyle.FULL, 4, "Thursday"}, in provider_text()
[all …]
DTestDateTimeFormatterBuilder.java521 builder.appendZoneText(TextStyle.FULL); in test_appendZoneText_1arg()
908 …{FormatStyle.FULL, FormatStyle.FULL, IsoChronology.INSTANCE, Locale.US, "EEEE, MMMM d, y 'at' h:mm… in localizedDateTimePatterns()
912 {FormatStyle.FULL, null, IsoChronology.INSTANCE, Locale.US, "EEEE, MMMM d, y"}, in localizedDateTimePatterns()
916 {null, FormatStyle.FULL, IsoChronology.INSTANCE, Locale.US, "h:mm:ss a zzzz"}, in localizedDateTimePatterns()
922 …{FormatStyle.FULL, FormatStyle.FULL, IsoChronology.INSTANCE, Locale.FRENCH, "EEEE d MMMM y 'à' HH:… in localizedDateTimePatterns()
926 {FormatStyle.FULL, null, IsoChronology.INSTANCE, Locale.FRENCH, "EEEE d MMMM y"}, in localizedDateTimePatterns()
930 {null, FormatStyle.FULL, IsoChronology.INSTANCE, Locale.FRENCH, "HH:mm:ss zzzz"}, in localizedDateTimePatterns()
936 …{FormatStyle.FULL, FormatStyle.FULL, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u670… in localizedDateTimePatterns()
940 …{FormatStyle.FULL, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5EEEE… in localizedDateTimePatterns()
944 …{null, FormatStyle.FULL, JapaneseChronology.INSTANCE, Locale.JAPANESE, "H\u6642mm\u5206ss\u79d2 zz… in localizedDateTimePatterns()
[all …]
DTestZoneTextPrinterParser.java104 printText(locale, zdt, TextStyle.FULL, tz, in test_printText()
137 parseText(zids, locale, TextStyle.FULL, false); in test_ParseText()
138 parseText(zids, locale, TextStyle.FULL, true); in test_ParseText()
200 style == TextStyle.FULL ? " full" :"short", in test_ParseText()
219 int i = style == TextStyle.FULL ? 1 : 2; in parseText()
244 style == TextStyle.FULL ? " full" :"short", in parse()
DTestNonIsoFormatter.java160 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_formatLocalizedDate()
170 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_parseLocalizedText()
180 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_parseInvalidText()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeTextPrinting.java98 {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 …]
DTCKOffsetPrinterParser.java208 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_UTC, "GMT"}, in data_print_localized()
209 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_P0100, "GMT+01:00"}, in data_print_localized()
210 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_P0123, "GMT+01:23"}, in data_print_localized()
211 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_P0023, "GMT+00:23"}, in data_print_localized()
212 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_P012345, "GMT+01:23:45"}, in data_print_localized()
213 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M000045, "GMT-00:00:45"}, in data_print_localized()
214 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M0100, "GMT-01:00"}, in data_print_localized()
215 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M0123, "GMT-01:23"}, in data_print_localized()
216 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M0023, "GMT-00:23"}, in data_print_localized()
217 {TextStyle.FULL, DT_2012_06_30_12_30_40, OFFSET_M012345, "GMT-01:23:45"}, in data_print_localized()
[all …]
DTCKLocalizedPrinterParser.java135 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.UK}, in data_date()
136 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.US}, in data_date()
137 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.FRANCE}, in data_date()
138 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.JAPAN}, in data_date()
DTCKTextStyle.java77 assertEquals(TextStyle.FULL, TextStyle.FULL_STANDALONE.asNormal()); in test_standaloneNormal()
89 assertTrue(!TextStyle.FULL.isStandalone()); in test_standaloneNormal()
DTCKFormatStyle.java97 …ime.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), ZONEID_PARIS), FormatStyle.FULL, "Tuesday, 2 Octobe… in data_formatStyle()
102 …Time.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), OFFSET_PTWO), FormatStyle.FULL, "Tuesday, 2 Octobe… in data_formatStyle()
DTCKDateTimeFormatters.java176 …assertEquals(DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL).getChronology(), IsoChronology.IN… in test_ofLocalizedDate_basics()
177 assertEquals(DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL).getZone(), null); in test_ofLocalizedDate_basics()
178 …assertEquals(DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL).getResolverStyle(), ResolverStyle… in test_ofLocalizedDate_basics()
183 …assertEquals(DateTimeFormatter.ofLocalizedTime(FormatStyle.FULL).getChronology(), IsoChronology.IN… in test_ofLocalizedTime_basics()
184 assertEquals(DateTimeFormatter.ofLocalizedTime(FormatStyle.FULL).getZone(), null); in test_ofLocalizedTime_basics()
185 …assertEquals(DateTimeFormatter.ofLocalizedTime(FormatStyle.FULL).getResolverStyle(), ResolverStyle… in test_ofLocalizedTime_basics()
190 …assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL).getChronology(), IsoChronolog… in test_ofLocalizedDateTime1_basics()
191 assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL).getZone(), null); in test_ofLocalizedDateTime1_basics()
192 …assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL).getResolverStyle(), ResolverS… in test_ofLocalizedDateTime1_basics()
197 …assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.MEDIUM).getChrono… in test_ofLocalizedDateTime2_basics()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java119 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.FULL); in test_getDateInstanceI()
122 DateFormat.FULL, Locale.getDefault()))); in test_getDateInstanceI()
165 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.FULL, in test_getDateInstanceILjava_util_Locale()
218 testDateTime(DateFormat.SHORT, DateFormat.FULL); in test_getDateTimeInstanceII()
223 testDateTime(DateFormat.MEDIUM, DateFormat.FULL); in test_getDateTimeInstanceII()
228 testDateTime(DateFormat.LONG, DateFormat.FULL); in test_getDateTimeInstanceII()
230 testDateTime(DateFormat.FULL, DateFormat.SHORT); in test_getDateTimeInstanceII()
231 testDateTime(DateFormat.FULL, DateFormat.MEDIUM); in test_getDateTimeInstanceII()
232 testDateTime(DateFormat.FULL, DateFormat.LONG); in test_getDateTimeInstanceII()
233 testDateTime(DateFormat.FULL, DateFormat.FULL); in test_getDateTimeInstanceII()
[all …]
/libcore/luni/src/test/java/libcore/java/time/chrono/
DChronologyDisplayNameTest.java54 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/
DFormatStyle.java82 FULL, enumConstant
DTextStyle.java94 FULL(Calendar.LONG_FORMAT, 0), enumConstant
DDateTimeFormatterBuilder.java716 return appendText(field, TextStyle.FULL); in appendText()
779 Map<TextStyle, Map<Long, String>> map = Collections.singletonMap(TextStyle.FULL, copy); in appendText()
791 appendInternal(new TextPrinterParser(field, TextStyle.FULL, provider)); in appendText()
957 if (style != TextStyle.FULL && style != TextStyle.SHORT) { in appendLocalizedOffset()
1615 appendZoneText(TextStyle.FULL); in parsePattern()
1628 appendLocalizedOffset(TextStyle.FULL); in parsePattern()
1638 appendLocalizedOffset(TextStyle.FULL); in parsePattern()
1758 appendText(field, standalone ? TextStyle.FULL_STANDALONE : TextStyle.FULL); in parseField()
1782 appendText(field, TextStyle.FULL); in parseField()
3160 if (textStyle == TextStyle.FULL) { in toString()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DExchanger.java282 static final int FULL = (NCPU >= (MMASK << 1)) ? MMASK : NCPU >>> 1; field in Exchanger
430 else if ((c = p.collides) < m || m == FULL || in arenaExchange()
471 arena = new Node[(FULL + 2) << ASHIFT]; in slotExchange()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneId.java235 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()
DTCKDayOfWeek.java259 DayOfWeek.MONDAY.getDisplayName(TextStyle.FULL, null); in test_getText_nullLocale()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java213 case DateFormat.FULL: in getDateFormat()
236 case DateFormat.FULL: in getTimeFormat()
/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java356 format = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US); in test_parseLString()
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java127 public static final int FULL = 0; // 0x0 field in DateFormat
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java189 public static final int FULL = 0; // 0x0 field in DateFormat
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java426 public static final int FULL = 0; field in DateFormat

12