pub fn date(string: &str) -> Result<Date, String>Expand description
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();