operator + method

Time operator +(
  1. Time other
)

Adds this Duration and other and returns the sum as a new Duration object.

Implementation

Time operator +(Time other) {
  return Time(ticks + other.ticks);
}