Function chrono::format::parse [-] [+] [src]

pub fn parse<'a, I>(parsed: &mut Parsed, s: &str, items: I) -> ParseResult<()> where I: Iterator<Item=Item<'a>>

Tries to parse given string into parsed with given formatting items. Returns Ok when the entire string has been parsed (otherwise parsed should not be used). There should be no trailing string after parsing; use a stray Item::Space to trim whitespaces.

This particular date and time parser is: