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:

Example

let date = iso8601::date("2015-11-02").unwrap();