The PersianCalendar type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PersianCalendar | DotNetNuke.Services.Localization.Persian.PersianCalendar |
Methods
| Name | Description | |
|---|---|---|
| AddDays | (Inherited from Calendar.) | |
| AddHours | (Inherited from Calendar.) | |
| AddMilliseconds | (Inherited from Calendar.) | |
| AddMinutes | (Inherited from Calendar.) | |
| AddMonths | Returns a DateTime object that is offset the specified number of months from the specified DateTime object. (Inherited from PersianCalendar.) | |
| AddSeconds | (Inherited from Calendar.) | |
| AddWeeks | (Inherited from Calendar.) | |
| AddYears | Returns a DateTime object that is offset the specified number of years from the specified DateTime object. (Inherited from PersianCalendar.) | |
| Clone | Creates a new object that is a copy of the current Calendar object. (Inherited from Calendar.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetDayOfMonth | (Overrides PersianCalendar..::..GetDayOfMonth(DateTime).) | |
| GetDayOfWeek | (Overrides PersianCalendar..::..GetDayOfWeek(DateTime).) | |
| GetDayOfYear | (Overrides PersianCalendar..::..GetDayOfYear(DateTime).) | |
| GetDaysInMonth | Returns the number of days in the specified month and year of the current era. (Inherited from Calendar.) | |
| GetDaysInMonth | Returns the number of days in the specified month of the specified year and era. (Inherited from PersianCalendar.) | |
| GetDaysInYear | Returns the number of days in the specified year of the current era. (Inherited from Calendar.) | |
| GetDaysInYear | Returns the number of days in the specified year of the specified era. (Inherited from PersianCalendar.) | |
| GetEra | Returns the era in the specified DateTime object. (Inherited from PersianCalendar.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetHour | Returns the hours value in the specified DateTime. (Inherited from Calendar.) | |
| GetLeapMonth | Calculates the leap month for a specified year. (Inherited from Calendar.) | |
| GetLeapMonth | Returns the leap month for a specified year and era. (Inherited from PersianCalendar.) | |
| 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 | (Overrides PersianCalendar..::..GetMonth(DateTime).) | |
| GetMonthsInYear | Returns the number of months in the specified year in the current era. (Inherited from Calendar.) | |
| GetMonthsInYear | Returns the number of months in the specified year of the specified era. (Inherited from PersianCalendar.) | |
| 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 value. (Inherited from Calendar.) | |
| GetYear | (Overrides PersianCalendar..::..GetYear(DateTime).) | |
| IsLeapDay | Determines whether the specified date in the current era is a leap day. (Inherited from Calendar.) | |
| IsLeapDay | Determines whether the specified date is a leap day. (Inherited from PersianCalendar.) | |
| IsLeapMonth | Determines whether the specified month in the specified year in the current era is a leap month. (Inherited from Calendar.) | |
| IsLeapMonth | Determines whether the specified month in the specified year and era is a leap month. (Inherited from PersianCalendar.) | |
| IsLeapYear | Determines whether the specified year in the current era is a leap year. (Inherited from Calendar.) | |
| IsLeapYear | Determines whether the specified year in the specified era is a leap year. (Inherited from PersianCalendar.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToDateTime | Returns a DateTime that is set to the specified date and time in the current era. (Inherited from Calendar.) | |
| ToDateTime | Returns a DateTime object that is set to the specified date, time, and era. (Inherited from PersianCalendar.) | |
| ToFourDigitYear | Converts the specified year to a four-digit year representation. (Inherited from PersianCalendar.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
| Name | Description | |
|---|---|---|
| AlgorithmType | Gets a value indicating whether the current calendar is solar-based, lunar-based, or lunisolar-based. (Inherited from PersianCalendar.) | |
| Eras | Gets the list of eras in a PersianCalendar object. (Inherited from PersianCalendar.) | |
| IsReadOnly | Gets a value indicating whether this Calendar object is read-only. (Inherited from Calendar.) | |
| MaxSupportedDateTime | Gets the latest date and time supported by the PersianCalendar class. (Inherited from PersianCalendar.) | |
| MinSupportedDateTime | Gets the earliest date and time supported by the PersianCalendar class. (Inherited from PersianCalendar.) | |
| TwoDigitYearMax | Gets or sets the last year of a 100-year range that can be represented by a 2-digit year. (Inherited from PersianCalendar.) |