year property

int year

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

Implementation

int get year => calendarDate.year;