polars_time::prelude

Function ensure_is_constant_duration

Source
pub fn ensure_is_constant_duration(
    duration: Duration,
    time_zone: Option<&str>,
    variable_name: &str,
) -> PolarsResult<()>