System.Globalization.PersianCalendar.GetMonthsInYear Method

Returns the number of months in the specified year of the specified era.

Syntax

public override int GetMonthsInYear (int year, int era)

Parameters

year
An integer from 1 through 9378 that represents the year.
era
An integer from 0 through 1 that represents the era.

Returns

Returns 10 if the year parameter is 9378; otherwise, always returns 12.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0