Module jormungandr_lib::time
source · Expand description
Time and related data structures
this module exports three different components of time:
SystemTime
, LocalDateTime
and Duration
.
Structs
- Length of time between 2 events.
- local date and time. While the
SystemTime
will give us a number of seconds since UNIX Epoch this will take into account the locality of the caller, taking into account daylight saving. - time in seconds since [UNIX Epoch]
- time in seconds and nanoseconds since UNIX Epoch