difference method

Duration difference(
  1. Date other
)

Returns the Duration between this date and other.

Implementation

Duration difference(Date other) => toDateTime().difference(other.toDateTime());