TemporalZ

year

Returns the year.

Parameters

#
self:PlainDate
PlainDate

Source

Implementation

#
pub fn year(self: PlainDate) i32 {
    return abi.c.temporal_rs_PlainDate_year(self._inner);
}