eraYear
Returns the era year for this date, if any.
Parameters
- self:PlainDate
- PlainDate
Source
Implementation
pub fn eraYear(self: PlainDate) ?i32 {
const result = abi.c.temporal_rs_PlainDate_era_year(self._inner);
if (!result.is_ok) return null;
return result.unnamed_0.ok;
}