devela::all

Type Alias TimeSplitYearDay

Source
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>

Source

pub const fn new_year_day(y: Y, mo: MO, d: D) -> Self

Returns a new TimeSplitYearDay.