op Tm.+
The instant d later.
Example:
use std.time { Time }
fn main() io {
print("{(Time.ofUnixSeconds(100) + 1m).unixSeconds()}")
}Output
160
pub(api) static op +(a: Tm, d: Dur) -> TmSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
a | Tm |
d | Dur |
Returns
Tm
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1888