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