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