Function time::format_description::parse
source · [−]pub fn parse(s: &str) -> Result<Vec<FormatItem<'_>>, InvalidFormatDescription>
Available on crate feature
alloc
and (crate features formatting
or parsing
) only.Expand description
Parse a sequence of items from the format description.
The syntax for the format description can be found in the book.