TemporalZ

year

Returns the year.

Parameters

#
self:PlainDateTime
PlainDateTime

Source

Implementation

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