operator - method
Returns the Duration between this
and other
.
The returned Duration will be negative if other
occurs after this
.
Alias for DateTime.difference.
Implementation
Duration operator -(DateTime other) => difference(other);
Returns the Duration between this
and other
.
The returned Duration will be negative if other
occurs after this
.
Alias for DateTime.difference.
Duration operator -(DateTime other) => difference(other);