operator + method

Time operator +(
  1. Duration duration
)

Returns a Time that represents this Time with the given duration added.

Implementation

Time operator + (Duration duration) => this - -duration;