getYear method

int getYear()

Implementation

int getYear() => _year;