year property

Year get year

Gets the Year part of this time instance.

Implementation

Year get year => Year.fromDateTime(_dateTime);