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 femtoseconds

/// # 1 second in femtoseconds
pub const SECOND: u128 = 1_000_000_000_000_000;

/// # 1 minute in femtoseconds
pub const MINUTE: u128 = 60_000_000_000_000_000;

/// # 1 hour in femtoseconds
pub const HOUR: u128 = 3_600_000_000_000_000_000;

/// # 1 day in femtoseconds
pub const DAY: u128 = 86_400_000_000_000_000_000;

/// # 1 week in femtoseconds
pub const WEEK: u128 = 604_800_000_000_000_000_000;