TemporalZ

add

Returns a new Duration with the sum of this duration and another (balanced as needed).

See: Temporal.Duration.add

Parameters

#
self:Duration
Duration
other:Duration
Duration

Source

Implementation

#
pub fn add(self: Duration, other: Duration) !Duration {
    return wrapDuration(abi.c.temporal_rs_Duration_add(self._inner, other._inner));
}