pub const SECOND: Duration;
A second. Useful for rounding Duration.
Duration
use roundable::{SECOND, Roundable, Tie}; use std::time::Duration; assert!(SECOND == Duration::from_millis(500).round_to(SECOND, Tie::Up));