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()}")
}Вывод
2026-11-04T00:15:00
pub(api) static op +(a: Ldt, d: Dur) -> LdtС версии. 1.0.0-beta
Параметры
| Имя | Тип |
|---|---|
a | Ldt |
d | Dur |
Возвращает
Ldt
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/time/time.oxl:1659