Module time

Source
Expand description

time module provides re-export of WASM32-compatible Instant and provides platform neutral implementations for unixtime_as_millis_u128() and unixtime_as_millis_f64().

Structs§

Duration
re-export of instant crate supporting native and WASM implementations A Duration type to represent a span of time, typically used for system timeouts.

Enums§

TimeFormat

Constants§

DAYS
HOURS
MINUTES
SECONDS

Functions§

init_desired_time_format
now
re-export of instant crate supporting native and WASM implementations The current time, expressed in milliseconds since the Unix Epoch.
unixtime_as_millis_f64
unixtime_as_millis_u64
unixtime_as_millis_u128
unixtime_to_locale_string

Type Aliases§

Instant
re-export of instant crate supporting native and WASM implementations
SystemTime
re-export of instant crate supporting native and WASM implementations