year property
Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
Implementation
final int year;
Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
final int year;