Year property

int get Year
Gets or sets the year. If Year is 0, the time change occurs every year according to a recurring pattern; otherwise, the time change occurs at the date specified by Day, Month, Year.

Implementation

int get Year => _year;
set Year (int value)

Implementation

set Year(int value) => _year = value;