Home
last modified time | relevance | path

Searched refs:QUARTER_OF_YEAR (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestTextPrinter.java66 import static java.time.temporal.IsoFields.QUARTER_OF_YEAR;
190 {QUARTER_OF_YEAR, TextStyle.FULL, 1, "1st quarter"}, in provider_dow()
191 {QUARTER_OF_YEAR, TextStyle.FULL, 2, "2nd quarter"}, in provider_dow()
192 {QUARTER_OF_YEAR, TextStyle.FULL, 3, "3rd quarter"}, in provider_dow()
193 {QUARTER_OF_YEAR, TextStyle.FULL, 4, "4th quarter"}, in provider_dow()
195 {QUARTER_OF_YEAR, TextStyle.SHORT, 1, "Q1"}, in provider_dow()
196 {QUARTER_OF_YEAR, TextStyle.SHORT, 2, "Q2"}, in provider_dow()
197 {QUARTER_OF_YEAR, TextStyle.SHORT, 3, "Q3"}, in provider_dow()
198 {QUARTER_OF_YEAR, TextStyle.SHORT, 4, "Q4"}, in provider_dow()
200 {QUARTER_OF_YEAR, TextStyle.NARROW, 1, "1"}, in provider_dow()
[all …]
DTestTextParser.java65 import static java.time.temporal.IsoFields.QUARTER_OF_YEAR;
175 {QUARTER_OF_YEAR, TextStyle.FULL, 1, "1st quarter"}, in provider_text()
176 {QUARTER_OF_YEAR, TextStyle.FULL, 2, "2nd quarter"}, in provider_text()
177 {QUARTER_OF_YEAR, TextStyle.FULL, 3, "3rd quarter"}, in provider_text()
178 {QUARTER_OF_YEAR, TextStyle.FULL, 4, "4th quarter"}, in provider_text()
180 {QUARTER_OF_YEAR, TextStyle.SHORT, 1, "Q1"}, in provider_text()
181 {QUARTER_OF_YEAR, TextStyle.SHORT, 2, "Q2"}, in provider_text()
182 {QUARTER_OF_YEAR, TextStyle.SHORT, 3, "Q3"}, in provider_text()
183 {QUARTER_OF_YEAR, TextStyle.SHORT, 4, "Q4"}, in provider_text()
185 {QUARTER_OF_YEAR, TextStyle.NARROW, 1, "1"}, in provider_text()
[all …]
DTestTextPrinterWithLocale.java72 import static java.time.temporal.IsoFields.QUARTER_OF_YEAR;
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java142 assertEquals(IsoFields.QUARTER_OF_YEAR.getFrom(date), qoy); in test_QOY()
143 assertEquals(date.get(IsoFields.QUARTER_OF_YEAR), qoy); in test_QOY()
147 assertEquals(IsoFields.QUARTER_OF_YEAR.isDateBased(), true); in test_QOY_basics()
148 assertEquals(IsoFields.QUARTER_OF_YEAR.isTimeBased(), false); in test_QOY_basics()
158 .appendValue(IsoFields.QUARTER_OF_YEAR).appendLiteral('-') in test_parse_quarters()
169 .appendValue(IsoFields.QUARTER_OF_YEAR).appendLiteral('-') in test_parse_quarters_SMART()
180 .appendValue(IsoFields.QUARTER_OF_YEAR).appendLiteral('-') in test_parse_quarters_LENIENT()
215 .appendValue(IsoFields.QUARTER_OF_YEAR).appendLiteral(':') in test_parse_parseLenientQuarter_STRICT()
225 .appendValue(IsoFields.QUARTER_OF_YEAR).appendLiteral(':') in test_parse_parseLenientQuarter_SMART()
245 .appendValue(IsoFields.QUARTER_OF_YEAR).appendLiteral(':') in test_parse_parseLenientQuarter_LENIENT()
[all …]
/libcore/ojluni/src/main/java/java/time/temporal/
DIsoFields.java216 public static final TemporalField QUARTER_OF_YEAR = Field.QUARTER_OF_YEAR; field in IsoFields
320 long qoy = temporal.getLong(QUARTER_OF_YEAR); in rangeRefinedBy()
353 Long qoyLong = fieldValues.get(QUARTER_OF_YEAR); in resolve()
365 … int qoy = QUARTER_OF_YEAR.range().checkValidIntValue(qoyLong, QUARTER_OF_YEAR); // validated in resolve()
378 fieldValues.remove(QUARTER_OF_YEAR); in resolve()
386 QUARTER_OF_YEAR { enumConstant
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java466 if (field == IsoFields.QUARTER_OF_YEAR) { in createStore()
DDateTimeFormatterBuilder.java2092 … FIELD_MAP.put('Q', IsoFields.QUARTER_OF_YEAR); // LDML (removed quarter from 310)
2093 FIELD_MAP.put('q', IsoFields.QUARTER_OF_YEAR); // LDML (stand-alone)
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java175 {YEAR, 2012, IsoFields.QUARTER_OF_YEAR, 3}, in data_resolveTwoNoChange()
184 {MONTH_OF_YEAR, 3, IsoFields.QUARTER_OF_YEAR, 5}, in data_resolveTwoNoChange()
216 {MONTH_OF_YEAR, 1, DAY_OF_MONTH, 5, IsoFields.QUARTER_OF_YEAR, 3}, in data_resolveThreeNoChange()
/libcore/api/
Dcurrent.txt12833 field public static final java.time.temporal.TemporalField QUARTER_OF_YEAR;