Returns the number of days in the year specified by the year
parameter and the current era.
[Visual Basic] Overloads Overridable Public Function GetDaysInYear( _ ByVal year As Integer _ ) As Integer [C#] public virtual int GetDaysInYear( int year ); [C++] public: virtual int GetDaysInYear( int year ); [JScript] public function GetDaysInYear( year : int ) : int;
The number of days in the year specified by the year parameter for the current era.
Exception Type | Condition |
---|---|
ArgumentException | is thrown if month is less than 1 or greater than 12. |
Calendar Class | Calendar Members | System.Globalization Namespace | Calendar.GetDaysInYear Overload List