Method lrs::time::Time::hours

Creates a Time that represents a number of hours.

Syntax

impl Time {
    fn hours(h: i64) -> Time
}

Arguments

NameDescription
h

The number of hours.