logo

Module time::macros

source · []
Expand description

Macros to construct statically known values.

Macros

Construct a Date with a statically known value.

Construct a PrimitiveDateTime or OffsetDateTime with a statically known value.

Equivalent of performing format_description::parse() at compile time.

Construct a UtcOffset with a statically known value.

Construct a Time with a statically known value.