Function iso8601::date [−][src]
pub fn date(string: &str) -> Result<Date, String>
Parses a date string.
A string can have one of the following formats:
2015-11-02or201511022015-W45-01or2015W4512015-306or2015306
Example
let date = iso8601::date("2015-11-02").unwrap();