That's exactly what it does, though since it's resuming a monotonic clock the actual code was a bit more complicated...
To find out how long it was down, it notes system time into the state file on shutdown. On start it checks the current system time and adds the delta to the monotonic timer and resumes. Objects exceeding TTL are removed appropriately.