Skip to main content

ceil_to_boundary

Function ceil_to_boundary 

Source
fn ceil_to_boundary(time: i64, anchor: i64, interval: i64) -> i64
Expand description

Computes the ceiling of time to the next schedule boundary aligned with anchor + k * interval. All values are Unix timestamps in seconds.