/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeBuilderCombinations.java | 65 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()
|
D | TestChronoField.java | 88 fieldMap.put(ChronoField.ALIGNED_WEEK_OF_YEAR, "week"); in initClass()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | AbstractChronology.java | 67 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()
|
D | HijrahDate.java | 62 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()
|
D | JapaneseDate.java | 62 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()
|
D | JapaneseChronology.java | 405 case ALIGNED_WEEK_OF_YEAR: in range()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 61 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/ |
D | TCKChronoFieldSerialization.java | 62 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/ |
D | TCKChronoField.java | 62 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/ |
D | LocalDate.java | 68 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/ |
D | TCKDateTimeParseResolver.java | 68 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/ |
D | YearMonthTest.java | 98 ChronoField.ALIGNED_WEEK_OF_YEAR, in test_with_TemporalField_long_invalidField()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 88 assertEquals(false, date.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 454 ALIGNED_WEEK_OF_YEAR("AlignedWeekOfYear", WEEKS, YEARS, ValueRange.of(1, 53)), enumConstant
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDayOfWeek.java | 190 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
|
D | TCKMonth.java | 182 assertEquals(Month.AUGUST.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
|
D | TCKOffsetDateTime.java | 66 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…
|
D | TCKLocalDate.java | 65 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);
|
D | TCKMonthDay.java | 404 assertEquals(TEST_07_15.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
|
D | TCKZonedDateTime.java | 66 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);
|
D | TCKLocalDateTime.java | 65 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);
|
D | TCKYear.java | 358 assertEquals(TEST_2008.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false); in test_isSupported_TemporalField()
|
D | TCKOffsetTime.java | 544 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR), false);
|
D | TCKYearMonth.java | 423 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/ |
D | TestUmmAlQuraChronology.java | 630 assertEquals(hdate.get(ChronoField.ALIGNED_WEEK_OF_YEAR), 25); in test_chronoFields()
|