operator - method

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

Returns a copy of this with the period subtracted.

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

Implementation

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