operator - method

DateTime operator -(
  1. Duration other
)

Subtracts the given other duration from the date.

Implementation

DateTime operator -(Duration other) => subtract(other);