System.Globalization.PersianCalendar: Method Members

The methods of System.Globalization.PersianCalendar are listed below. For a list of all members, see the PersianCalendar Members list.

See Also: Inherited members from System.Globalization.Calendar

Public Methods

override
AddMonths(DateTime, int) : DateTime

Returns a DateTime object that is offset the specified number of months from the specified DateTime object.

override
AddYears(DateTime, int) : DateTime

Returns a DateTime object that is offset the specified number of years from the specified DateTime object.

override
GetDayOfMonth(DateTime) : int

Returns the day of the month in the specified DateTime object.

override
GetDayOfWeek(DateTime) : DayOfWeek

Returns the day of the week in the specified DateTime object.

override
GetDayOfYear(DateTime) : int

Returns the day of the year in the specified DateTime object.

override
GetDaysInMonth(int, int, int) : int

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

override
GetDaysInYear(int, int) : int

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

override
GetEra(DateTime) : int

Returns the era in the specified DateTime object.

override
GetLeapMonth(int, int) : int

Returns the leap month for a specified year and era.

override
GetMonth(DateTime) : int

Returns the month in the specified DateTime object.

override
GetMonthsInYear(int, int) : int

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

override
GetYear(DateTime) : int

Returns the year in the specified DateTime object.

override
IsLeapDay(int, int, int, int) : bool

Determines whether the specified date is a leap day.

override
IsLeapMonth(int, int, int) : bool

Determines whether the specified month in the specified year and era is a leap month.

override
IsLeapYear(int, int) : bool

Determines whether the specified year in the specified era is a leap year.

override
ToDateTime(int, int, int, int, int, int, int, int) : DateTime

Returns a DateTime object that is set to the specified date, time, and era.

override
ToFourDigitYear(int) : int

Converts the specified year to a four-digit year representation.