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