GYear Constructor (long)GYear Constructor (Long)GYear Constructor (long)
Initializes a new instance of the GYearGYearGYear structure with the specified calendar year, but
without a time zone.
Parameters
- year
Type: System.Int64System.Int64System::Int64
The calendar year.
Exceptions
Exception | Condition |
ArgumentOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentOutOfRangeException | year is outside the range MinYearMinYearMinYear to MaxYearMaxYearMaxYear or is zero. |