LocalDate.plusWeeks

Returns a copy of this {@code LocalDate} with the specified number of weeks added. !(p) This method adds the specified amount _in weeks to the days field incrementing the month and year fields as necessary to ensure the result remains valid. The result is only invalid if the maximum/minimum year is exceeded. !(p) For example, 2008-12-31 plus one week would result _in 2009-01-07. !(p) This instance is immutable and unaffected by this method call.

@param weeksToAdd the weeks to add, may be negative @return a {@code LocalDate} based on this date with the weeks added, not null @throws DateTimeException if the result exceeds the supported date range

class LocalDate
plusWeeks
()

Meta