yearOfWeek
Returns the year to be paired with the weekOfYear of this date, or null if not defined.
Parameters
- self:ZonedDateTime
- ZonedDateTime
Source
Implementation
pub fn yearOfWeek(self: ZonedDateTime) ?i32 {
const result = abi.c.temporal_rs_ZonedDateTime_year_of_week(self._inner);
return abi.fromOption(result);
}