pub fn remaining_secs(period: u64, unix_secs: u64) -> u64Expand description
Seconds until the current code is replaced.
Zero is never returned: at the instant of a step boundary the new code has a full period ahead of it, and a countdown that reads 0 for one second in every period is a countdown users report as a bug.