pub struct IsoSecond(_);
Expand description
An ISO-8601 second component, for use with ISO calendars.
Must be within inclusive bounds [0, 61]
. 60
accomodates for leap seconds.
The value could also be equal to 60 or 61, to indicate the end of a leap second,
with the writing 23:59:61.000000000Z
or 23:59:60.000000000Z
. These examples,
if used with this goal, would correspond to the same time as the next day, at
time 00:00:00.000000000Z
. This is an extension to ISO 8601.
Implementations§
Trait Implementations§
source§impl Ord for IsoSecond
impl Ord for IsoSecond
source§impl PartialEq<IsoSecond> for IsoSecond
impl PartialEq<IsoSecond> for IsoSecond
source§impl PartialOrd<IsoSecond> for IsoSecond
impl PartialOrd<IsoSecond> for IsoSecond
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