Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestDateTimeBuilderCombinations.java63 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
176 {ALIGNED_DAY_OF_WEEK_IN_YEAR, 4, ALIGNED_DAY_OF_WEEK_IN_YEAR, 4L}, in data_normalized()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java59 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
216 … case ALIGNED_DAY_OF_WEEK_IN_YEAR: return ((get(ChronoField.DAY_OF_YEAR) - 1) % 7) + 1; in getLong()
241 …case ALIGNED_DAY_OF_WEEK_IN_YEAR: return plusDays(newValue - getLong(ALIGNED_DAY_OF_WEEK_IN_YEAR)); in with()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoFieldSerialization.java60 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
110 {ALIGNED_DAY_OF_WEEK_IN_YEAR}, in data_fieldBased()
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java60 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
366 case ALIGNED_DAY_OF_WEEK_IN_YEAR: return ((getDayOfYear() - 1) % 7) + 1; in getLong()
397 …case ALIGNED_DAY_OF_WEEK_IN_YEAR: return plusDays(newValue - getLong(ALIGNED_DAY_OF_WEEK_IN_YEAR)); in with()
DAbstractChronology.java65 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
487 if (fieldValues.containsKey(ALIGNED_DAY_OF_WEEK_IN_YEAR)) { in resolveDate()
621 long days = Math.subtractExact(fieldValues.remove(ALIGNED_DAY_OF_WEEK_IN_YEAR), 1); in resolveYAA()
625 …nt ad = range(ALIGNED_DAY_OF_WEEK_IN_YEAR).checkValidIntValue(fieldValues.remove(ALIGNED_DAY_OF_WE… in resolveYAA()
DJapaneseDate.java60 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
431 if (field == ALIGNED_DAY_OF_WEEK_IN_MONTH || field == ALIGNED_DAY_OF_WEEK_IN_YEAR || in isSupported()
475 case ALIGNED_DAY_OF_WEEK_IN_YEAR: in getLong()
DJapaneseChronology.java403 case ALIGNED_DAY_OF_WEEK_IN_YEAR: in range()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoField.java60 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
159 {ALIGNED_DAY_OF_WEEK_IN_YEAR, true, false}, in data_fieldBased()
/libcore/ojluni/src/main/java/java/time/
DLocalDate.java66 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
662 case ALIGNED_DAY_OF_WEEK_IN_YEAR: return ((getDayOfYear() - 1) % 7) + 1; in get0()
1021 …case ALIGNED_DAY_OF_WEEK_IN_YEAR: return plusDays(newValue - getLong(ALIGNED_DAY_OF_WEEK_IN_YEAR)); in with()
/libcore/luni/src/test/java/libcore/java/time/
DYearMonthTest.java96 ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR, in test_with_TemporalField_long_invalidField()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java89 assertEquals(false, date.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR)); in test_JapaneseDate_isSupported_TemporalField()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java381 ALIGNED_DAY_OF_WEEK_IN_YEAR("AlignedDayOfWeekInYear", DAYS, WEEKS, ValueRange.of(1, 7)), enumConstant
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDayOfWeek.java185 … assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), false); in test_isSupported_TemporalField()
DTCKMonth.java177 assertEquals(Month.AUGUST.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), false); in test_isSupported_TemporalField()
DTCKOffsetDateTime.java64 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
197 ALIGNED_DAY_OF_WEEK_IN_YEAR, in validFields()
556 …uals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), true);
DTCKLocalDate.java63 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
178 ALIGNED_DAY_OF_WEEK_IN_YEAR, in validFields()
627 assertEquals(TEST_2007_07_15.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), true);
DTCKMonthDay.java399 assertEquals(TEST_07_15.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), false); in test_isSupported_TemporalField()
DTCKZonedDateTime.java64 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
199 ALIGNED_DAY_OF_WEEK_IN_YEAR, in validFields()
882 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), true);
DTCKLocalDateTime.java63 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
202 ALIGNED_DAY_OF_WEEK_IN_YEAR, in validFields()
939 …als(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), true);
DTCKYear.java353 assertEquals(TEST_2008.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), false); in test_isSupported_TemporalField()
DTCKOffsetTime.java539 … assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), false);
DTCKYearMonth.java418 assertEquals(TEST_2008_06.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), false); in test_isSupported_TemporalField()
DTCKLocalTime.java615 … assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), false); in test_isSupported_TemporalField()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java66 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
489 … {YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 5, ALIGNED_DAY_OF_WEEK_IN_YEAR, 4, 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()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java628 assertEquals(hdate.get(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), 7); in test_chronoFields()

12