Function re_sdk::external::arrow2::temporal_conversions::timeunit_scale

pub fn timeunit_scale(a: TimeUnit, b: TimeUnit) -> f64
Expand description

Calculates the scale factor between two TimeUnits. The function returns the scale that should multiply the TimeUnit “b” to have the same time scale as the TimeUnit “a”.