op Inst.+
The reading d later.
Example:
use std.time { Instant }
fn main() io, time {
let a = Instant.now()
print("{((a + 1s) - a).seconds()}")
}Output
1
pub(api) static op +(a: Inst, d: Dur) -> InstSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
a | Inst |
d | Dur |
Returns
Inst
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:2087