pub(super) fn seconds_until_next_rotation(next_rotation: u64) -> u64
Expand description

Calculate the time in seconds until the next_rotation, given as a timestamp. next_rotation here represents a timestamp in UNIX epoch format.