year property

int year

Gets the year of this local date. This returns the 'absolute year', so, for the ISO calendar, a value of 0 means 1 BC, for example.

Implementation

int get year => _yearMonthDayCalendar.year;