periodUntil method

Period periodUntil(
  1. LocalDate date
)

Subtracts the specified time from this time, returning the result as a Period. Cognitively similar to: date - this.

The specified date must be in the same calendar system as this.

  • date: The date to subtract this from

Returns: The difference between the specified date and this one

Implementation

Period periodUntil(LocalDate date) => Period.differenceBetweenDates(this, date);