pub fn parse_duration_string(s: &str) -> Result<Duration>
Parse a duration string like “30d”, “6m”, “1y”