Gets or sets the year-part of the time.
Declaration Syntax
Exceptions
Exception | Condition |
---|---|
ArgumentException | The value being assigned is not between 1995 and 2063. |
Exception | Condition |
---|---|
ArgumentException | The value being assigned is not between 1995 and 2063. |