Skip to main content

Module clock

Module clock 

Source

Structs§

FileClock
File-backed clock used by integration tests that run the daemon as a child process. Advancing the integer timestamp in the file wakes pending timers.
SystemClock

Traits§

Clock

Functions§

format_timestamp
next_local_minute_ms
Finds the next real instant whose local wall clock matches minute. Starting at the next whole minute makes the current minute mean its next occurrence, while scanning real instants handles DST transitions.