op Ldt.+
Exact length added to the wall clock (no zone, so no daylight saving).
Example:
fn main() io {
print("{(2026-11-03T23:30 + 45m).toIso()}")
}Output
2026-11-04T00:15:00
pub(api) static op +(a: Ldt, d: Dur) -> LdtSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
a | Ldt |
d | Dur |
Returns
Ldt
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1659