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