Skip to main content

Module timeimpl

Module timeimpl 

Source
Expand description

Types for decoding times and dates

Re-exportsยง

use crate::Error; ๐Ÿ”’
use crate::NetdocErrorKind as EK; ๐Ÿ”’
use crate::Pos; ๐Ÿ”’
use crate::Result; ๐Ÿ”’
use std::time::SystemTime; ๐Ÿ”’
use time::OffsetDateTime; ๐Ÿ”’
use time::PrimitiveDateTime; ๐Ÿ”’
use time::macros::format_description; ๐Ÿ”’
use super::*; ๐Ÿ”’

Structsยง

Iso8601TimeNoSp
A wall-clock time, encoded in ISO8601 format without an intervening space.
Iso8601TimeSp
A wall-clock time, encoded in Iso8601 format with an intervening space between the date and time.

Constantsยง

ISO_8601NOSP_FMT ๐Ÿ”’
Formatting object for parsing the space-separated Iso8601 format.
ISO_8601SP_FMT ๐Ÿ”’
Formatting object for parsing the space-separated Iso8601 format.

Functionsยง

fmt_with ๐Ÿ”’
Formats a SystemTime according to the given format description