getYear property

Year getYear

Return the Year object for this date.

Implementation

Year get getYear => Year.fromDate(this);