method Dur.hours
Whole hours (truncated).
Example:
fn main() io {
print("{150m.hours()}")
}Output
2
pub(api) fn hours() -> i64Since. 1.0.0-beta
Returns
i64
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:548