subtract
Returns a new PlainTime moved backward by the given duration, wrapping around the clock if necessary.
Parameters
Source
Implementation
pub fn subtract(self: PlainTime, duration: Duration) !PlainTime {
return wrapPlainTime(abi.c.temporal_rs_PlainTime_subtract(self._inner, duration._inner));
}