eraYear
Returns the year of this date within the era, or null if not applicable.
Parameters
- self:ZonedDateTime
- ZonedDateTime
Source
Implementation
pub fn eraYear(self: ZonedDateTime) ?i32 {
const result = abi.c.temporal_rs_ZonedDateTime_era_year(self._inner);
return abi.fromOption(result);
}