OxL Reference

op Ldt.+

Exact length added to the wall clock (no zone, so no daylight saving).

Example:

oxl✓ checked in CI
fn main() io {
  print("{(2026-11-03T23:30 + 45m).toIso()}")
}
Output
2026-11-04T00:15:00
pub(api) static op +(a: Ldt, d: Dur) -> Ldt

Since. 1.0.0-beta

Parameters

NameType
aLdt
dDur

Returns

Ldt

Effects

none declared (pure unless the body says otherwise)

Defined in: std/time/time.oxl:1659

See also