Struct icu_calendar::types::IsoHour
source · pub struct IsoHour(_);
Expand description
An ISO-8601 hour component, for use with ISO calendars.
Must be within inclusive bounds [0, 24]
. The value could be equal to 24 to
denote the end of a day, with the writing 24:00:00. It corresponds to the same
time as the next day at 00:00:00.
Implementations§
Trait Implementations§
source§impl Ord for IsoHour
impl Ord for IsoHour
source§impl PartialEq<IsoHour> for IsoHour
impl PartialEq<IsoHour> for IsoHour
source§impl PartialOrd<IsoHour> for IsoHour
impl PartialOrd<IsoHour> for IsoHour
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more