type Ldt
impl LdtС версии. 1.0.0-beta
Методы
of | (date: Date, time: TimeOfDay) -> LdtThe local date-time of a date and a time of day. |
date | () -> DateThe date part. |
timeOfDay | () -> TimeOfDayThe time-of-day part. |
+ | (a: Ldt, d: Dur) -> LdtExact length added to the wall clock (no zone, so no daylight saving). |
- | (a: Ldt, d: Dur) -> LdtExact arithmetic |
- | (a: Ldt, b: Ldt) -> DurThe exact duration between two local date-times. |
+ | (a: Ldt, p: Period) -> LdtCalendar arithmetic |
- | (a: Ldt, p: Period) -> LdtCalendar arithmetic |
in | ()This wall-clock time in tz (§17.2). |
fmt | (pattern: str) -> strFormats with a pattern (dd.MM.yyyy HH:mm); an empty pattern is ISO 8601. |
toIso | () -> strThe date-time in ISO 8601 form (2026-11-03T18:30:00). |
parse | (text: str, format: TimeFormat | str) -> Ldt | ParseErrorParses a local date-time in ISO 8601 form or with a pattern. |
Определено в: std/time/time.oxl:1609