Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PersianCalendar Methods

The PersianCalendar type exposes the following members.

  Name Description
Public method AddDays Returns a DateTime that is the specified number of days away from the specified DateTime. (Inherited from Calendar.)
Public method AddHours Returns a DateTime that is the specified number of hours away from the specified DateTime. (Inherited from Calendar.)
Public method AddMilliseconds Returns a DateTime that is the specified number of milliseconds away from the specified DateTime. (Inherited from Calendar.)
Public method AddMinutes Returns a DateTime that is the specified number of minutes away from the specified DateTime. (Inherited from Calendar.)
Public method AddMonths Returns a DateTime object that is offset the specified number of months from the specified DateTime object. (Overrides Calendar.AddMonths(DateTime, Int32).)
Public method AddSeconds Returns a DateTime that is the specified number of seconds away from the specified DateTime. (Inherited from Calendar.)
Public method AddWeeks Returns a DateTime that is the specified number of weeks away from the specified DateTime. (Inherited from Calendar.)
Public method AddYears Returns a DateTime object that is offset the specified number of years from the specified DateTime object. (Overrides Calendar.AddYears(DateTime, Int32).)
Public method Clone Creates a new object that is a copy of the current Calendar object. (Inherited from Calendar.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDayOfMonth Returns the day of the month in the specified DateTime object. (Overrides Calendar.GetDayOfMonth(DateTime).)
Public method GetDayOfWeek Returns the day of the week in the specified DateTime object. (Overrides Calendar.GetDayOfWeek(DateTime).)
Public method GetDayOfYear Returns the day of the year in the specified DateTime object. (Overrides Calendar.GetDayOfYear(DateTime).)
Public method GetDaysInMonth(Int32, Int32) Returns the number of days in the specified month and year of the current era. (Inherited from Calendar.)
Public method GetDaysInMonth(Int32, Int32, Int32) Returns the number of days in the specified month of the specified year and era. (Overrides Calendar.GetDaysInMonth(Int32, Int32, Int32).)
Public method GetDaysInYear(Int32) Returns the number of days in the specified year of the current era. (Inherited from Calendar.)
Public method GetDaysInYear(Int32, Int32) Returns the number of days in the specified year of the specified era. (Overrides Calendar.GetDaysInYear(Int32, Int32).)
Public method GetEra Returns the era in the specified DateTime object. (Overrides Calendar.GetEra(DateTime).)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetHour Returns the hours value in the specified DateTime. (Inherited from Calendar.)
Public method GetLeapMonth(Int32) Calculates the leap month for a specified year. (Inherited from Calendar.)
Public method GetLeapMonth(Int32, Int32) Returns the leap month for a specified year and era. (Overrides Calendar.GetLeapMonth(Int32, Int32).)
Public method GetMilliseconds Returns the milliseconds value in the specified DateTime. (Inherited from Calendar.)
Public method GetMinute Returns the minutes value in the specified DateTime. (Inherited from Calendar.)
Public method GetMonth Returns the month in the specified DateTime object. (Overrides Calendar.GetMonth(DateTime).)
Public method GetMonthsInYear(Int32) Returns the number of months in the specified year in the current era. (Inherited from Calendar.)
Public method GetMonthsInYear(Int32, Int32) Returns the number of months in the specified year of the specified era. (Overrides Calendar.GetMonthsInYear(Int32, Int32).)
Public method GetSecond Returns the seconds value in the specified DateTime. (Inherited from Calendar.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWeekOfYear Returns the week of the year that includes the date in the specified DateTime value. (Inherited from Calendar.)
Public method GetYear Returns the year in the specified DateTime object. (Overrides Calendar.GetYear(DateTime).)
Public method IsLeapDay(Int32, Int32, Int32) Determines whether the specified date in the current era is a leap day. (Inherited from Calendar.)
Public method IsLeapDay(Int32, Int32, Int32, Int32) Determines whether the specified date is a leap day. (Overrides Calendar.IsLeapDay(Int32, Int32, Int32, Int32).)
Public method IsLeapMonth(Int32, Int32) Determines whether the specified month in the specified year in the current era is a leap month. (Inherited from Calendar.)
Public method IsLeapMonth(Int32, Int32, Int32) Determines whether the specified month in the specified year and era is a leap month. (Overrides Calendar.IsLeapMonth(Int32, Int32, Int32).)
Public method IsLeapYear(Int32) Determines whether the specified year in the current era is a leap year. (Inherited from Calendar.)
Public method IsLeapYear(Int32, Int32) Determines whether the specified year in the specified era is a leap year. (Overrides Calendar.IsLeapYear(Int32, Int32).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32) Returns a DateTime that is set to the specified date and time in the current era. (Inherited from Calendar.)
Public method ToDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) Returns a DateTime object that is set to the specified date, time, and era. (Overrides Calendar.ToDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32).)
Public method ToFourDigitYear Converts the specified year to a four-digit year representation. (Overrides Calendar.ToFourDigitYear(Int32).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft. All rights reserved.