diff options
Diffstat (limited to 'mirai/common/constants/time.zig')
| -rw-r--r-- | mirai/common/constants/time.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mirai/common/constants/time.zig b/mirai/common/constants/time.zig new file mode 100644 index 0000000..ce50e2a --- /dev/null +++ b/mirai/common/constants/time.zig @@ -0,0 +1,9 @@ +//! Time constants + +pub const TICKS_PER_SECOND: u64 = 100; + +pub const SECONDS_PER_MINUTE: u64 = 60; +pub const SECONDS_PER_HOUR: u64 = 3600; +pub const SECONDS_PER_DAY: u64 = 86400; + +pub const EPOCH_YEAR: u64 = 1970; |
