hour
Returns the hour component of this time (0-23).
Parameters
- self:PlainTime
- PlainTime
Source
Implementation
pub fn hour(self: PlainTime) u8 {
return abi.c.temporal_rs_PlainTime_hour(self._inner);
}Returns the hour component of this time (0-23).
Source
pub fn hour(self: PlainTime) u8 {
return abi.c.temporal_rs_PlainTime_hour(self._inner);
}