pub fn parse_delay(num: &str, time_unit: &str, clock: Duration) -> Result<u32>