Skip to main content

hours

Macro hours 

Source
macro_rules! hours {
    ($x:expr) => { ... };
}
Expand description

Converts whole hours (i128) to total attoseconds (i128).

Equivalent to Dt::hours_to_attos.

ยงExamples

use deep_time::{Dt, macros::hours};

assert_eq!(hours!(1), Dt::hours_to_attos(1));