Function getHoursIntoDay [src]
the number of hours past the start of the day (0 to 23)
Prototype
pub fn getHoursIntoDay(self: DaySeconds) u5
Parameters
self: DaySeconds
Source
pub fn getHoursIntoDay(self: DaySeconds) u5 {
return @as(u5, @intCast(@divTrunc(self.secs, 3600)));
}