NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Calendar.GetDaysInYear (Int32)

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;

Parameters

year
The number of days in the specified year.

Return Value

The number of days in the year specified by the year parameter for the current era.

Exceptions

Exception Type Condition
ArgumentException is thrown if month is less than 1 or greater than 12.

See Also

Calendar Class | Calendar Members | System.Globalization Namespace | Calendar.GetDaysInYear Overload List