difference method

Duration difference(
  1. Date other
)

Refer to DateTime for more information.

Implementation

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