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