yearOfWeek property

int yearOfWeek

Returns the year of this Date's week

Implementation

int get yearOfWeek => addDays(1).yearOfISOWeek;