Home
last modified time | relevance | path

Searched refs:ALIGNED_WEEK_OF_YEAR (Results 1 – 25 of 26) sorted by relevance

12

/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestDateTimeBuilderCombinations.java65 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
96 …{YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 6, DAY_OF_WEEK, 3, null, null, LocalDate.class, LocalDate.of(20… in data_combine()
175 {ALIGNED_WEEK_OF_YEAR, 23, ALIGNED_WEEK_OF_YEAR, 23}, in data_normalized()
DTestChronoField.java88 fieldMap.put(ChronoField.ALIGNED_WEEK_OF_YEAR, "week"); in initClass()
/libcore/ojluni/src/main/java/java/time/chrono/
DAbstractChronology.java67 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
486 if (fieldValues.containsKey(ALIGNED_WEEK_OF_YEAR)) { in resolveDate()
620 long weeks = Math.subtractExact(fieldValues.remove(ALIGNED_WEEK_OF_YEAR), 1); in resolveYAA()
624 …int aw = range(ALIGNED_WEEK_OF_YEAR).checkValidIntValue(fieldValues.remove(ALIGNED_WEEK_OF_YEAR), in resolveYAA()
636 long weeks = Math.subtractExact(fieldValues.remove(ALIGNED_WEEK_OF_YEAR), 1); in resolveYAD()
640 …int aw = range(ALIGNED_WEEK_OF_YEAR).checkValidIntValue(fieldValues.remove(ALIGNED_WEEK_OF_YEAR), in resolveYAD()
DHijrahDate.java62 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
371 case ALIGNED_WEEK_OF_YEAR: return ((getDayOfYear() - 1) / 7) + 1; in getLong()
402 … case ALIGNED_WEEK_OF_YEAR: return plusDays((newValue - getLong(ALIGNED_WEEK_OF_YEAR)) * 7); in with()
DJapaneseDate.java62 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
432 field == ALIGNED_WEEK_OF_MONTH || field == ALIGNED_WEEK_OF_YEAR) { in isSupported()
477 case ALIGNED_WEEK_OF_YEAR: in getLong()
DJapaneseChronology.java405 case ALIGNED_WEEK_OF_YEAR: in range()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java61 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
221 case ALIGNED_WEEK_OF_YEAR: return ((get(ChronoField.DAY_OF_YEAR) - 1) / 7) + 1; in getLong()
246 … case ALIGNED_WEEK_OF_YEAR: return plusDays((newValue - getLong(ALIGNED_WEEK_OF_YEAR)) * 7); in with()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoFieldSerialization.java62 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
115 {ALIGNED_WEEK_OF_YEAR}, in data_fieldBased()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoField.java62 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
164 {ALIGNED_WEEK_OF_YEAR, true, false}, in data_fieldBased()
/libcore/ojluni/src/main/java/java/time/
DLocalDate.java68 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
667 case ALIGNED_WEEK_OF_YEAR: return ((getDayOfYear() - 1) / 7) + 1; in get0()
1026 … case ALIGNED_WEEK_OF_YEAR: return plusWeeks(newValue - getLong(ALIGNED_WEEK_OF_YEAR)); in with()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java68 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
170 {YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 5}, in data_resolveTwoNoChange()
179 {MONTH_OF_YEAR, 5, ALIGNED_WEEK_OF_YEAR, 5}, in data_resolveTwoNoChange()
209 {YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 5, DAY_OF_MONTH, 5}, in data_resolveThreeNoChange()
489 … {YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 5, ALIGNED_DAY_OF_WEEK_IN_YEAR, 4, LocalDate.of(2012, 2, 1)}, in data_resolveThreeToDate()
490 {YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 5, DAY_OF_WEEK, 3, LocalDate.of(2012, 2, 1)}, in data_resolveThreeToDate()
526 …{YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 5, ALIGNED_DAY_OF_WEEK_IN_YEAR, 4, DAY_OF_WEEK, 3, LocalDate.of… in data_resolveFourToDate()
527 … {YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 5, DAY_OF_WEEK, 3, DAY_OF_MONTH, 1, LocalDate.of(2012, 2, 1)}, in data_resolveFourToDate()
/libcore/luni/src/test/java/libcore/java/time/
DYearMonthTest.java98 ChronoField.ALIGNED_WEEK_OF_YEAR, in test_with_TemporalField_long_invalidField()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java88 assertEquals(false, date.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR)); in test_JapaneseDate_isSupported_TemporalField()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java454 ALIGNED_WEEK_OF_YEAR("AlignedWeekOfYear", WEEKS, YEARS, ValueRange.of(1, 53)), enumConstant
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDayOfWeek.java190 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
DTCKMonth.java182 assertEquals(Month.AUGUST.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
DTCKOffsetDateTime.java66 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
202 ALIGNED_WEEK_OF_YEAR, in validFields()
561 …assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), true…
DTCKLocalDate.java65 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
183 ALIGNED_WEEK_OF_YEAR, in validFields()
632 assertEquals(TEST_2007_07_15.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), true);
DTCKMonthDay.java404 assertEquals(TEST_07_15.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
DTCKZonedDateTime.java66 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
204 ALIGNED_WEEK_OF_YEAR, in validFields()
887 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), true);
DTCKLocalDateTime.java65 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR;
207 ALIGNED_WEEK_OF_YEAR, in validFields()
944 …sertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), true);
DTCKYear.java358 assertEquals(TEST_2008.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
DTCKOffsetTime.java544 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false);
DTCKYearMonth.java423 assertEquals(TEST_2008_06.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java630 assertEquals(hdate.get(ChronoField.ALIGNED_WEEK_OF_YEAR), 25); in test_chronoFields()

12