pub(crate) fn for_time(
unit: Unit,
increment: i64,
) -> Result<ri128<{ i128::MIN }, { i128::MAX }>, Error>
Expand description
Validates the given rounding increment for the given unit.
This validation ensures the rounding increment is valid for rounding civil times.