subtract
Returns a new Duration with the difference between this duration and another (balanced as needed).
Parameters
Source
Implementation
pub fn subtract(self: Duration, other: Duration) !Duration {
return wrapDuration(abi.c.temporal_rs_Duration_subtract(self._inner, other._inner));
}