timespanUntil method

Timespan timespanUntil(
  1. LocalDate other
)

Returns the Timespan between this and another date. The result will always be an integer number of days.

To find the number of years, months and days between two dates, use periodUntil().

Implementation

Timespan timespanUntil(LocalDate other) =>
    Timespan(days: other._julianDay.inDays - _julianDay.inDays);