Expand description
Structs§
core
A span of time, withu64
seconds andu32
nanoseconds.std
A measurement of a monotonically nondecreasing clock.- System
Time std
std
A measurement of the system clock. - 🚩 An error returned from the
duration_since
andelapsed
methods onSystemTime
. - Time
Split time
A full time split from years to nanoseconds. - Timecode
time
Timecode splitting and formatting. - Unix
Time I64 time
64-bit Unix time, supporting negative values. - Unix
Time U32 time
32-bit Unix time, supporting only non-negative values.
Enums§
- The months of the year.
- The days of the week.
Constants§
- UNIX_
EPOCH std
std
ASystemTime
anchored to “1970-01-01 00:00:00 UTC”.
Functions§
- is_
leap_ year time
Returnstrue
if the providedyear
is a leap year.
Type Aliases§
- NoTime
time
Represents the absence of time. - A time split from hours to nanoseconds.
- A time split from hours to seconds, normalized (128b size & payload).
- Time
Split Hour Sec time
A time split from hours to seconds. - A time split from hours to seconds, normalized (128b size, 80b payload).
- A time split from milliseconds to nanoseconds.
- A time split from milliseconds to nanoseconds, normalized (48b size & payload).
- Time
Split Norm time
A time split from years to nanoseconds, normalized (192b size, 152b payload). - Time
Split Year Day time
A time split from years to days. - A time split from years to days, normalized (128b size, 80b payload).
- Time
Split Year Sec time
A time split from years to seconds. - A time split from years to seconds, normalized (128b size, 104b payload).