operator + method

DateTime operator +(
  1. Duration other
)

Adds the given other duration to the date.

Implementation

DateTime operator +(Duration other) => add(other);