weekOfYear
Returns the 1-based week index in the year of this date, or null if not defined.
Parameters
- self:ZonedDateTime
- ZonedDateTime
Source
Implementation
pub fn weekOfYear(self: ZonedDateTime) ?u8 {
const result = abi.c.temporal_rs_ZonedDateTime_week_of_year(self._inner);
return abi.fromOption(result);
}