addDays method

LocalDate addDays(
  1. int days
)

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

This method does not try to maintain the month or year of the current value, so adding 3 days to a value of January 30th will result in a value of February 2nd.

  • days: The number of days to add

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

Implementation

LocalDate addDays(int days) => DatePeriodFields.daysField.add(this, days);