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