Expand description
Cross platform time utilities.
Structs§
- A
Duration
type to represent a span of time, typically used for system timeouts. - A measurement of a monotonically nondecreasing clock. Opaque and useful only with
Duration
. - A measurement of the system clock, useful for talking to external entities like the file system or other processes.
- A [
PrimitiveDateTime
] that is known to be UTC.
Traits§
- The trait helping convert to a
UtcDateTime
.
Functions§
- Returns the current system time (UTC+0).
- Converts a
UtcDateTime
to typst’s datetime. - Returns the current datetime in utc (UTC+0).