Expand description
Date and time parsing routines.
Functionsยง
- parse
- Tries to parse given string into
parsed
with given formatting items. ReturnsOk
when the entire string has been parsed (otherwiseparsed
should not be used). There should be no trailing string after parsing; use a strayItem::Space
to trim whitespaces. - parse_
and_ remainder - Tries to parse given string into
parsed
with given formatting items. ReturnsOk
with a slice of the unparsed remainder. - parse_
internal ๐ - parse_
rfc2822 ๐ - parse_
rfc3339 ๐ - parse_
rfc3339_ ๐relaxed - Accepts a relaxed form of RFC3339.
- set_
weekday_ ๐with_ num_ days_ from_ sunday - set_
weekday_ ๐with_ number_ from_ monday