operator - method
Subtracts the specified period from the date.
This is a convenience operator over the Minus(Period) method.
this: The date to subtract the period fromperiod: The period to subtract. Must not contain any (non-zero) time units.
Returns: The result of subtracting the given period from the date
Implementation
LocalDate operator -(Period period) => subtract(period);