/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateImpl.java | 276 D plusWeeks(long weeksToAdd) { in plusWeeks() method in ChronoLocalDateImpl 353 …tract == Long.MIN_VALUE ? ((ChronoLocalDateImpl<D>)plusWeeks(Long.MAX_VALUE)).plusWeeks(1) : plusW… in minusWeeks()
|
D | MinguoDate.java | 376 MinguoDate plusWeeks(long weeksToAdd) { in plusWeeks() method in MinguoDate 377 return super.plusWeeks(weeksToAdd); in plusWeeks()
|
D | ThaiBuddhistDate.java | 376 ThaiBuddhistDate plusWeeks(long weeksToAdd) { in plusWeeks() method in ThaiBuddhistDate 377 return super.plusWeeks(weeksToAdd); in plusWeeks()
|
D | HijrahDate.java | 541 HijrahDate plusWeeks(long weeksToAdd) { in plusWeeks() method in HijrahDate 542 return super.plusWeeks(weeksToAdd); in plusWeeks()
|
D | JapaneseDate.java | 621 JapaneseDate plusWeeks(long weeksToAdd) { in plusWeeks() method in JapaneseDate 622 return with(isoDate.plusWeeks(weeksToAdd)); in plusWeeks()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDate.java | 212 LocalDate t = reference.plusWeeks(weeks).plusWeeks(-weeks); in test_plusWeeks_symmetry() 215 t = reference.plusWeeks(-weeks).plusWeeks(weeks); in test_plusWeeks_symmetry() 222 LocalDate t = TEST_2007_07_15.plusWeeks(0); in test_plusWeeks_noChange_same()
|
D | TestOffsetDateTime.java | 223 OffsetDateTime test = base.plusWeeks(0); in test_plusWeeks_zero()
|
D | TestLocalDateTime.java | 254 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(0); in test_plusWeeks_noChange()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDate.java | 1025 … case ALIGNED_WEEK_OF_MONTH: return plusWeeks(newValue - getLong(ALIGNED_WEEK_OF_MONTH)); in with() 1026 … case ALIGNED_WEEK_OF_YEAR: return plusWeeks(newValue - getLong(ALIGNED_WEEK_OF_YEAR)); in with() 1233 case WEEKS: return plusWeeks(amountToAdd); in plus() 1321 public LocalDate plusWeeks(long weeksToAdd) { in plusWeeks() method in LocalDate 1468 …return (weeksToSubtract == Long.MIN_VALUE ? plusWeeks(Long.MAX_VALUE).plusWeeks(1) : plusWeeks(-we… in minusWeeks()
|
D | OffsetDateTime.java | 1253 public OffsetDateTime plusWeeks(long weeks) { in plusWeeks() method in OffsetDateTime 1254 return with(dateTime.plusWeeks(weeks), offset); in plusWeeks() 1443 … return (weeks == Long.MIN_VALUE ? plusWeeks(Long.MAX_VALUE).plusWeeks(1) : plusWeeks(-weeks)); in minusWeeks()
|
D | ZonedDateTime.java | 1667 public ZonedDateTime plusWeeks(long weeks) { in plusWeeks() method in ZonedDateTime 1668 return resolveLocal(dateTime.plusWeeks(weeks)); in plusWeeks() 1909 … return (weeks == Long.MIN_VALUE ? plusWeeks(Long.MAX_VALUE).plusWeeks(1) : plusWeeks(-weeks)); in minusWeeks()
|
D | LocalDateTime.java | 1259 public LocalDateTime plusWeeks(long weeks) { in plusWeeks() method in LocalDateTime 1260 LocalDate newDate = date.plusWeeks(weeks); in plusWeeks() 1457 … return (weeks == Long.MIN_VALUE ? plusWeeks(Long.MAX_VALUE).plusWeeks(1) : plusWeeks(-weeks)); in minusWeeks()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 481 date = date.plusWeeks((dow - 1) / 7); in resolve() 484 date = date.plusWeeks(Math.subtractExact(dow, 7) / 7); in resolve() 487 date = date.plusWeeks(Math.subtractExact(wowby, 1)).with(DAY_OF_WEEK, dow); in resolve() 497 date = date.plusWeeks(wowby - 1).with(DAY_OF_WEEK, dow); in resolve()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalDate.java | 1176 LocalDate t = TEST_2007_07_15.plusWeeks(1); 1182 LocalDate t = TEST_2007_07_15.plusWeeks(9); 1188 LocalDate t = LocalDate.of(2006, 7, 16).plusWeeks(52); 1194 LocalDate t = TEST_2007_07_15.plusYears(-1).plusWeeks(104); 1200 LocalDate t = TEST_2007_07_15.plusWeeks(-1); 1206 LocalDate t = TEST_2007_07_15.plusWeeks(-28); 1212 LocalDate t = TEST_2007_07_15.plusWeeks(-104); 1218 LocalDate t = LocalDate.of(Year.MAX_VALUE, 12, 24).plusWeeks(1); 1225 LocalDate t = LocalDate.of(Year.MIN_VALUE, 1, 8).plusWeeks(-1); 1232 LocalDate.of(Year.MAX_VALUE, 12, 25).plusWeeks(1); [all …]
|
D | TCKLocalDateTime.java | 1564 LocalDateTime t = reference.plusWeeks(weeks).plusWeeks(-weeks); 1567 t = reference.plusWeeks(-weeks).plusWeeks(weeks); 1574 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(1); 1580 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(9); 1586 LocalDateTime t = LocalDateTime.of(2006, 7, 16, 12, 30, 40, 987654321).plusWeeks(52); 1592 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusYears(-1).plusWeeks(104); 1598 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(-1); 1604 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(-28); 1610 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(-104); 1616 LocalDateTime t = createDateMidnight(Year.MAX_VALUE, 12, 24).plusWeeks(1); [all …]
|
D | TCKZonedDateTime.java | 1750 ZonedDateTime test = base.plusWeeks(1); 1751 assertEquals(test, ZonedDateTime.of(ldt.plusWeeks(1), ZONE_0100)); 1758 ZonedDateTime test = base.plusWeeks(0);
|
D | TCKOffsetDateTime.java | 978 OffsetDateTime test = base.plusWeeks(1);
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKWeekFields.java | 416 assertEquals(parsed, date.plusWeeks(j - wom), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWom_lenient() 485 assertEquals(parsed, date.plusWeeks(j - wom), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWomDow_lenient() 529 assertEquals(parsed, date.plusWeeks(j - woy), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoy_lenient() 595 assertEquals(parsed, date.plusWeeks(j - woy), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoyDow_lenient() 641 assertEquals(parsed, date.plusWeeks(j - wowby), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoWBY_lenient() 709 assertEquals(parsed, date.plusWeeks(j - wowby), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoWBYDow_lenient()
|
D | TCKTemporalAdjusters.java | 343 assertEquals(test, expected.plusWeeks(ordinal - 1)); in test_dayOfWeekInMonth_positive()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 289 public java.time.OffsetDateTime plusWeeks(long weeks) { in plusWeeks() method in OffsetDateTime
|