operator + method

  1. @useResult
OffsetTime operator +(
  1. Period period
)

Returns a copy of this with the period added.

OffsetTime(Offset(8), 11, 30) + Period(hours: 1); // 12:30+08:00

Implementation

@useResult OffsetTime operator + (Period period) => OffsetTime._(offset, _native + period);