MINUTE

Constant MINUTE 

Source
pub const MINUTE: Duration;
Expand description

A minute. Useful for rounding Duration.

use roundable::{MINUTE, Roundable, Tie};
use std::time::Duration;

assert!(MINUTE == Duration::from_secs(30).round_to(MINUTE, Tie::Up));