operator - method

  1. @override
DateRange operator -(
  1. Duration other
)
override

The offset of this duration minus the offset of other.

Implementation

@override
DateRange operator -(Duration other) => DateRange.duration(startDate, duration - other);