PersianCalendar Members
.NET Framework 2.0
Represents the Persian calendar.
The following tables list the members exposed by the PersianCalendar type.
| Name | Description | |
|---|---|---|
| AlgorithmType | Overridden. Gets a value indicating whether the current calendar is solar-based, lunar-based, or lunisolar-based. |
| Eras | Overridden. Gets the list of eras in a PersianCalendar object. |
| IsReadOnly | Gets a value indicating whether this Calendar object is read-only.(Inherited from Calendar.) |
| MaxSupportedDateTime | Overridden. Gets the latest date and time supported by the PersianCalendar class. |
| MinSupportedDateTime | Overridden. Gets the earliest date and time supported by the PersianCalendar class. |
| TwoDigitYearMax | Overridden. Gets or sets the last year of a 100-year range that can be represented by a 2-digit year. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AddDays | Returns a DateTime that is the specified number of days away from the specified DateTime. (Inherited from Calendar.) |
| AddHours | Returns a DateTime that is the specified number of hours away from the specified DateTime. (Inherited from Calendar.) |
| AddMilliseconds | Returns a DateTime that is the specified number of milliseconds away from the specified DateTime. (Inherited from Calendar.) |
| AddMinutes | Returns a DateTime that is the specified number of minutes away from the specified DateTime. (Inherited from Calendar.) |
| AddMonths | Overridden. Returns a DateTime object that is offset the specified number of months from the specified DateTime object. |
| AddSeconds | Returns a DateTime that is the specified number of seconds away from the specified DateTime. (Inherited from Calendar.) |
| AddWeeks | Returns a DateTime that is the specified number of weeks away from the specified DateTime. (Inherited from Calendar.) |
| AddYears | Overridden. Returns a DateTime object that is offset the specified number of years from the specified DateTime object. |
| Clone | Creates a new object that is a copy of the current Calendar object. (Inherited from Calendar.) |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetDayOfMonth | Overridden. Returns the day of the month in the specified DateTime object. |
| GetDayOfWeek | Overridden. Returns the day of the week in the specified DateTime object. |
| GetDayOfYear | Overridden. Returns the day of the year in the specified DateTime object. |
| GetDaysInMonth | Overloaded. Returns the number of days in the specified month of the specified year and era. |
| GetDaysInYear | Overloaded. Returns the number of days in the specified year of the specified era. |
| GetEra | Overridden. Returns the era in the specified DateTime object. |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetHour | Returns the hours value in the specified DateTime. (Inherited from Calendar.) |
| GetLeapMonth | Overloaded. Returns the leap month for a specified year and era. |
| GetMilliseconds | Returns the milliseconds value in the specified DateTime. (Inherited from Calendar.) |
| GetMinute | Returns the minutes value in the specified DateTime. (Inherited from Calendar.) |
| GetMonth | Overridden. Returns the month in the specified DateTime object. |
| GetMonthsInYear | Overloaded. Returns the number of months in the specified year of the specified era. |
| GetSecond | Returns the seconds value in the specified DateTime. (Inherited from Calendar.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| GetWeekOfYear | Returns the week of the year that includes the date in the specified DateTime. (Inherited from Calendar.) |
| GetYear | Overridden. Returns the year in the specified DateTime object. |
| IsLeapDay | Overloaded. Determines whether the specified date is a leap day. |
| IsLeapMonth | Overloaded. Determines whether the specified month in the specified year and era is a leap month. |
| IsLeapYear | Overloaded. Determines whether the specified year in the specified era is a leap year. |
| ReadOnly | Returns a read-only version of the specified Calendar object. (Inherited from Calendar.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToDateTime | Overloaded. Returns a DateTime object that is set to the specified date, time, and era. |
| ToFourDigitYear | Overridden. Converts the specified year to a four-digit year representation. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |