time::format_description::well_known

Module iso8601

Source
Available on crate features formatting or parsing only.
Expand description

The format described in ISO 8601.

Re-exportsยง

#[doc(hidden)] pub use self::adt_hack::DoNotRelyOnWhatThisIs;
pub use self::adt_hack::EncodedConfig;

Modulesยง

adt_hack ๐Ÿ”’
Hackery to work around not being able to use ADTs in const generics on stable.

Macrosยง

define_assoc_consts ๐Ÿ”’
Define associated constants for Iso8601.

Structsยง

Config
Configuration for Iso8601.
Iso8601
The format described in ISO 8601.

Enumsยง

DateKind
Which format to use for the date.
FormattedComponents
Which components to format.
OffsetPrecision
The precision for the UTC offset.
TimePrecision
The precision and number of decimal digits present for the time.

Constantsยง

DATE ๐Ÿ”’
DATE_TIME ๐Ÿ”’
DATE_TIME_OFFSET ๐Ÿ”’
DEFAULT ๐Ÿ”’
OFFSET ๐Ÿ”’
PARSING ๐Ÿ”’
TIME ๐Ÿ”’
TIME_OFFSET ๐Ÿ”’