The PersianCalendar type exposes the following members.

Methods

  NameDescription
Public methodAddDays
Returns a DateTime that is the specified number of days away from the specified DateTime.
(Inherited from Calendar.)
Public methodAddHours
Returns a DateTime that is the specified number of hours away from the specified DateTime.
(Inherited from Calendar.)
Public methodAddMilliseconds
Returns a DateTime that is the specified number of milliseconds away from the specified DateTime.
(Inherited from Calendar.)
Public methodAddMinutes
Returns a DateTime that is the specified number of minutes away from the specified DateTime.
(Inherited from Calendar.)
Public methodAddMonths
Returns a DateTime object that is offset the specified number of months from the specified DateTime object.
(Inherited from PersianCalendar.)
Public methodAddSeconds
Returns a DateTime that is the specified number of seconds away from the specified DateTime.
(Inherited from Calendar.)
Public methodAddWeeks
Returns a DateTime that is the specified number of weeks away from the specified DateTime.
(Inherited from Calendar.)
Public methodAddYears
Returns a DateTime object that is offset the specified number of years from the specified DateTime object.
(Inherited from PersianCalendar.)
Public methodClone
Creates a new object that is a copy of the current Calendar object.
(Inherited from Calendar.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDayOfMonth (Overrides PersianCalendar..::..GetDayOfMonth(DateTime).)
Public methodGetDayOfWeek (Overrides PersianCalendar..::..GetDayOfWeek(DateTime).)
Public methodGetDayOfYear (Overrides PersianCalendar..::..GetDayOfYear(DateTime).)
Public methodGetDaysInMonth
Returns the number of days in the specified month and year of the current era.
(Inherited from Calendar.)
Public methodGetDaysInMonth
Returns the number of days in the specified month of the specified year and era.
(Inherited from PersianCalendar.)
Public methodGetDaysInYear
Returns the number of days in the specified year of the current era.
(Inherited from Calendar.)
Public methodGetDaysInYear
Returns the number of days in the specified year of the specified era.
(Inherited from PersianCalendar.)
Public methodGetEra
Returns the era in the specified DateTime object.
(Inherited from PersianCalendar.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHour
Returns the hours value in the specified DateTime.
(Inherited from Calendar.)
Public methodGetLeapMonth
Calculates the leap month for a specified year.
(Inherited from Calendar.)
Public methodGetLeapMonth
Returns the leap month for a specified year and era.
(Inherited from PersianCalendar.)
Public methodGetMilliseconds
Returns the milliseconds value in the specified DateTime.
(Inherited from Calendar.)
Public methodGetMinute
Returns the minutes value in the specified DateTime.
(Inherited from Calendar.)
Public methodGetMonth (Overrides PersianCalendar..::..GetMonth(DateTime).)
Public methodGetMonthsInYear
Returns the number of months in the specified year in the current era.
(Inherited from Calendar.)
Public methodGetMonthsInYear
Returns the number of months in the specified year of the specified era.
(Inherited from PersianCalendar.)
Public methodGetSecond
Returns the seconds value in the specified DateTime.
(Inherited from Calendar.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWeekOfYear
Returns the week of the year that includes the date in the specified DateTime value.
(Inherited from Calendar.)
Public methodGetYear (Overrides PersianCalendar..::..GetYear(DateTime).)
Public methodIsLeapDay
Determines whether the specified date in the current era is a leap day.
(Inherited from Calendar.)
Public methodIsLeapDay
Determines whether the specified date is a leap day.
(Inherited from PersianCalendar.)
Public methodIsLeapMonth
Determines whether the specified month in the specified year in the current era is a leap month.
(Inherited from Calendar.)
Public methodIsLeapMonth
Determines whether the specified month in the specified year and era is a leap month.
(Inherited from PersianCalendar.)
Public methodIsLeapYear
Determines whether the specified year in the current era is a leap year.
(Inherited from Calendar.)
Public methodIsLeapYear
Determines whether the specified year in the specified era is a leap year.
(Inherited from PersianCalendar.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToDateTime
Returns a DateTime that is set to the specified date and time in the current era.
(Inherited from Calendar.)
Public methodToDateTime
Returns a DateTime object that is set to the specified date, time, and era.
(Inherited from PersianCalendar.)
Public methodToFourDigitYear
Converts the specified year to a four-digit year representation.
(Inherited from PersianCalendar.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodToJson
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.)

See Also