difference method
the difference between two Dates as a duration.
difference is a multiple of days(k * 24h).
Implementation
Duration difference(Date other) => dateTime.difference(other.dateTime);
the difference between two Dates as a duration.
difference is a multiple of days(k * 24h).
Duration difference(Date other) => dateTime.difference(other.dateTime);