addWeeks method

LocalDate addWeeks(
  1. int weeks
)

Returns a new LocalDate representing the current value with the given number of weeks added.

  • weeks: The number of weeks to add

Returns: The current value plus the given number of weeks.

Implementation

LocalDate addWeeks(int weeks) => DatePeriodFields.weeksField.add(this, weeks);