Available on crate feature
macros
only.Expand description
Macros to construct statically known values.
Macrosยง
- date
- Construct a
Date
with a statically known value. - datetime
- Construct a
PrimitiveDateTime
orOffsetDateTime
with a statically known value. - format_
description formatting
orparsing
- Equivalent of performing
format_description::parse()
at compile time. - offset
- Construct a
UtcOffset
with a statically known value. - time
- Construct a
Time
with a statically known value. - utc_
datetime - Construct a
UtcDateTime
with a statically known value.