Expand description
Date and time parsing routines.
Functionsยง
- parse
- Tries to parse given string into
parsedwith given formatting items. ReturnsOkwhen the entire string has been parsed (otherwiseparsedshould not be used). There should be no trailing string after parsing; use a strayItem::Spaceto trim whitespaces. - parse_
and_ remainder - Tries to parse given string into
parsedwith given formatting items. ReturnsOkwith 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