Crate doom_2038
Source - DOOM_TS
- The Unix timestamp for the Year 2038 problem:
2038-01-19 03:14:07 UTC. This timestamp represents
the maximum value for a 32-bit signed integer.
- SECONDS_IN_DAY
- Amount of seconds in a day
- SECONDS_IN_HOUR
- Amount of seconds in an hour
- SECONDS_IN_MINUTE
- Amount of seconds in a minute
- SECONDS_IN_YEAR
- Amount of seconds in a year
- doom
- Runs the doom countdown either continuously or just once,
based on the
countdown flag. - print_time_left
- Displays the time left until whatever in a
human-readable format.
- time_left
- Calculates the time left until the Year 2038 problem occurs,
returning it as a
Duration.