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