Skip to main content

parse_duration

Function parse_duration 

Source
fn parse_duration<D>(string: &str) -> Result<i64, ArrowError>
where D: ArrowTemporalType<Native = i64> + Parser,
Expand description

Parse a string to a duration, accepting integer strings (interpreted in the target unit) and interval strings with units, such as "1 hour 10 minutes".