/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 | 617 JapaneseDate plusWeeks(long weeksToAdd) { in plusWeeks() method in JapaneseDate 618 return with(isoDate.plusWeeks(weeksToAdd)); in plusWeeks()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDate.java | 213 LocalDate t = reference.plusWeeks(weeks).plusWeeks(-weeks); in test_plusWeeks_symmetry() 216 t = reference.plusWeeks(-weeks).plusWeeks(weeks); in test_plusWeeks_symmetry() 223 LocalDate t = TEST_2007_07_15.plusWeeks(0); in test_plusWeeks_noChange_same()
|
D | TestOffsetDateTime.java | 227 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 | 1053 … case ALIGNED_WEEK_OF_MONTH: return plusWeeks(newValue - getLong(ALIGNED_WEEK_OF_MONTH)); in with() 1054 … case ALIGNED_WEEK_OF_YEAR: return plusWeeks(newValue - getLong(ALIGNED_WEEK_OF_YEAR)); in with() 1259 case WEEKS: return plusWeeks(amountToAdd); in plus() 1347 public LocalDate plusWeeks(long weeksToAdd) { in plusWeeks() method in LocalDate 1510 …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 | 1665 public ZonedDateTime plusWeeks(long weeks) { in plusWeeks() method in ZonedDateTime 1666 return resolveLocal(dateTime.plusWeeks(weeks)); in plusWeeks() 1911 … return (weeks == Long.MIN_VALUE ? plusWeeks(Long.MAX_VALUE).plusWeeks(1) : plusWeeks(-weeks)); in minusWeeks()
|
D | LocalDateTime.java | 1253 public LocalDateTime plusWeeks(long weeks) { in plusWeeks() method in LocalDateTime 1254 LocalDate newDate = date.plusWeeks(weeks); in plusWeeks() 1450 … 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 | 503 date = date.plusWeeks((dow - 1) / 7); in resolve() 506 date = date.plusWeeks(Math.subtractExact(dow, 7) / 7); in resolve() 509 date = date.plusWeeks(Math.subtractExact(wowby, 1)).with(DAY_OF_WEEK, dow); in resolve() 519 date = date.plusWeeks(wowby - 1).with(DAY_OF_WEEK, dow); in resolve()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKWeekFields.java | 418 assertEquals(parsed, date.plusWeeks(j - wom), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWom_lenient() 487 assertEquals(parsed, date.plusWeeks(j - wom), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWomDow_lenient() 531 assertEquals(parsed, date.plusWeeks(j - woy), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoy_lenient() 597 assertEquals(parsed, date.plusWeeks(j - woy), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoyDow_lenient() 644 assertEquals(parsed, date.plusWeeks(j - wowby), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoWBY_lenient() 712 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/src/test/java/time/tck/java/time/ |
D | TCKLocalDate.java | 1221 LocalDate t = TEST_2007_07_15.plusWeeks(1); 1227 LocalDate t = TEST_2007_07_15.plusWeeks(9); 1233 LocalDate t = LocalDate.of(2006, 7, 16).plusWeeks(52); 1239 LocalDate t = TEST_2007_07_15.plusYears(-1).plusWeeks(104); 1245 LocalDate t = TEST_2007_07_15.plusWeeks(-1); 1251 LocalDate t = TEST_2007_07_15.plusWeeks(-28); 1257 LocalDate t = TEST_2007_07_15.plusWeeks(-104); 1263 LocalDate t = LocalDate.of(Year.MAX_VALUE, 12, 24).plusWeeks(1); 1270 LocalDate t = LocalDate.of(Year.MIN_VALUE, 1, 8).plusWeeks(-1); 1277 LocalDate.of(Year.MAX_VALUE, 12, 25).plusWeeks(1); [all …]
|
D | TCKLocalDateTime.java | 1558 LocalDateTime t = reference.plusWeeks(weeks).plusWeeks(-weeks); 1561 t = reference.plusWeeks(-weeks).plusWeeks(weeks); 1568 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(1); 1574 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(9); 1580 LocalDateTime t = LocalDateTime.of(2006, 7, 16, 12, 30, 40, 987654321).plusWeeks(52); 1586 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusYears(-1).plusWeeks(104); 1592 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(-1); 1598 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(-28); 1604 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.plusWeeks(-104); 1610 LocalDateTime t = createDateMidnight(Year.MAX_VALUE, 12, 24).plusWeeks(1); [all …]
|
D | TCKZonedDateTime.java | 1745 ZonedDateTime test = base.plusWeeks(1); 1746 assertEquals(test, ZonedDateTime.of(ldt.plusWeeks(1), ZONE_0100)); 1753 ZonedDateTime test = base.plusWeeks(0);
|
D | TCKOffsetDateTime.java | 963 OffsetDateTime test = base.plusWeeks(1);
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 289 public java.time.OffsetDateTime plusWeeks(long weeks) { in plusWeeks() method in OffsetDateTime
|
/libcore/api/ |
D | current.txt | 11583 method public java.time.LocalDate plusWeeks(long); 11661 method public java.time.LocalDateTime plusWeeks(long); 11853 method public java.time.OffsetDateTime plusWeeks(long); 12151 method public java.time.ZonedDateTime plusWeeks(long);
|