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