Function cursive::reexports::time::format_description::parse [−]
pub fn parse(
s: &str
) -> Result<Vec<FormatItem<'_>, Global>, InvalidFormatDescription>
Expand description
Parse a sequence of items from the format description.
The syntax for the format description can be found in the book.