pub type TimeSplitYearDay<Y, MO, D> = TimeSplit<Y, MO, D, (), (), (), (), (), ()>;
Available on crate feature
time
only.Expand description
A time split from years to days.
Aliased Type§
struct TimeSplitYearDay<Y, MO, D> {
pub y: Y,
pub mo: MO,
pub d: D,
pub h: (),
pub m: (),
pub s: (),
pub ms: (),
pub us: (),
pub ns: (),
}
Fields§
§y: Y
Years.
mo: MO
Months.
d: D
Days.
h: ()
Hours.
m: ()
Minutes.
s: ()
Seconds.
ms: ()
Milliseconds.
us: ()
Microseconds.
ns: ()
Nanoseconds.
Implementations§
Source§impl<Y, MO, D> TimeSplitYearDay<Y, MO, D>
impl<Y, MO, D> TimeSplitYearDay<Y, MO, D>
Sourcepub const fn new_year_day(y: Y, mo: MO, d: D) -> Self
pub const fn new_year_day(y: Y, mo: MO, d: D) -> Self
Returns a new TimeSplitYearDay
.