years
Returns the number of years in the duration.
Parameters
- self:Duration
- Duration
Source
Implementation
pub fn years(self: Duration) i64 {
return abi.c.temporal_rs_Duration_years(self._inner);
}Returns the number of years in the duration.
Source
pub fn years(self: Duration) i64 {
return abi.c.temporal_rs_Duration_years(self._inner);
}