parse

Function parse 

Source
pub fn parse(input: impl AsRef<str>) -> Result<Duration, String>