1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// License: see LICENSE file at root directory of `master` branch //! # Some constants in milliseconds /// # 1 second in milliseconds pub const SECOND: u64 = 1_000; /// # 1 minute in milliseconds pub const MINUTE: u64 = 60_000; /// # 1 hour in milliseconds pub const HOUR: u64 = 3_600_000; /// # 1 day in milliseconds pub const DAY: u64 = 86_400_000; /// # 1 week in milliseconds pub const WEEK: u64 = 604_800_000;