plus static method
Adds the specified period to the date. Friendly alternative to operator+()
.
date
: The date to add the period toperiod
: The period to add. Must not contain any (non-zero) time units.
Returns: The sum of the given date and period
Implementation
static LocalDate plus(LocalDate date, Period period) => date.add(period);