Skip to main content

compare

Function compare 

Source
pub fn compare(left: &str, right: &str) -> Result<i8, ValidationError>
Expand description

Compare two timestamps after normalizing to UTC instants.

Returns -1, 0, or 1.