pub fn is_valid_time( hour: u8, minute: u8, second: u8, meridiem: Option<Meridiem>, ) -> bool
Check whether time components are valid for either 24-hour or AM/PM notation.