year
Returns the year of this year-month relative to the calendar's epoch.
Parameters
- self:PlainYearMonth
- PlainYearMonth
Source
Implementation
pub fn year(self: PlainYearMonth) i32 {
return abi.c.temporal_rs_PlainYearMonth_year(self._inner);
}Returns the year of this year-month relative to the calendar's epoch.
Source
pub fn year(self: PlainYearMonth) i32 {
return abi.c.temporal_rs_PlainYearMonth_year(self._inner);
}