year property

int get year

The year component of the date in UTC

Implementation

int get year => _dateTime.year;