year property

int? year
getter/setter pair

Year of date.

Must be from 1 to 9999, or 0 if specifying a datetime without a year.

Optional.

Implementation

core.int? year;