Function iso8601::time[][src]

pub fn time(string: &str) -> Result<Time, String>

Parses a time string.

A string can have one of the following formats:

Example

let time = iso8601::time("21:56:42").unwrap();