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.GetMonthsInYear (Int32, Int32)

Returns [RB24] the number of months in the specified year and era parameters.

[Visual Basic]
Overloads MustOverride Public Function GetMonthsInYear( _
   ByVal year As Integer, _
   ByVal era As Integer _
) As Integer
[C#]
public abstract int GetMonthsInYear(
   int year,
   int era
);
[C++]
public: virtual int GetMonthsInYear(
   int year,
   int era
) = 0;
[JScript]
public abstract function GetMonthsInYear(
   year : int,
   era : int
) : int;

Parameters

year
The year.
era
The era.

Return Value

The number of months in the specified year and era[RB25] .

See Also

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