System.Globalization.PersianCalendar.GetDaysInYear Method

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

Syntax

public override int GetDaysInYear (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

The number of days in the specified year and era. The number of days is 365 in a common year or 366 in a leap year.

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