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 microseconds

/// # 1 second in microseconds
pub const SECOND: u64 = 1_000_000;

/// # 1 minute in microseconds
pub const MINUTE: u64 = 60_000_000;

/// # 1 hour in microseconds
pub const HOUR: u64 = 3_600_000_000;

/// # 1 day in microseconds
pub const DAY: u64 = 86_400_000_000;

/// # 1 week in microseconds
pub const WEEK: u64 = 604_800_000_000;