Calendar Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Calendar type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AddDays Returns a DateTime that is the specified number of days away from the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AddHours Returns a DateTime that is the specified number of hours away from the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AddMilliseconds Returns a DateTime that is the specified number of milliseconds away from the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AddMinutes Returns a DateTime that is the specified number of minutes away from the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AddMonths When overridden in a derived class, returns a DateTime that is the specified number of months away from the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AddSeconds Returns a DateTime that is the specified number of seconds away from the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AddWeeks Returns a DateTime that is the specified number of weeks away from the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AddYears When overridden in a derived class, returns a DateTime that is the specified number of years away from the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDayOfMonth When overridden in a derived class, returns the day of the month in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDayOfWeek When overridden in a derived class, returns the day of the week in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDayOfYear When overridden in a derived class, returns the day of the year in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDaysInMonth(Int32, Int32) Returns the number of days in the specified month and year of the current era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDaysInMonth(Int32, Int32, Int32) When overridden in a derived class, returns the number of days in the specified month, year, and era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDaysInYear(Int32) Returns the number of days in the specified year of the current era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDaysInYear(Int32, Int32) When overridden in a derived class, returns the number of days in the specified year and era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetEra When overridden in a derived class, returns the era in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHour Returns the hours value in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetLeapMonth Calculates the leap month for a specified year and era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMilliseconds Returns the milliseconds value in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMinute Returns the minutes value in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMonth When overridden in a derived class, returns the month in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMonthsInYear(Int32) Returns the number of months in the specified year in the current era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetMonthsInYear(Int32, Int32) When overridden in a derived class, returns the number of months in the specified year in the specified era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetSecond Returns the seconds value in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetWeekOfYear Returns the week of the year that includes the date in the specified DateTime value.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetYear When overridden in a derived class, returns the year in the specified DateTime.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsLeapDay(Int32, Int32, Int32) Determines whether the specified date in the current era is a leap day.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsLeapDay(Int32, Int32, Int32, Int32) When overridden in a derived class, determines whether the specified date in the specified era is a leap day.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsLeapMonth(Int32, Int32) Determines whether the specified month in the specified year in the current era is a leap month.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsLeapMonth(Int32, Int32, Int32) When overridden in a derived class, determines whether the specified month in the specified year in the specified era is a leap month.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsLeapYear(Int32) Determines whether the specified year in the current era is a leap year.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsLeapYear(Int32, Int32) When overridden in a derived class, determines whether the specified year in the specified era is a leap year.
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32) Returns a DateTime that is set to the specified date and time in the current era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) When overridden in a derived class, returns a DateTime that is set to the specified date and time in the specified era.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToFourDigitYear Converts the specified year to a four-digit year by using the TwoDigitYearMax property to determine the appropriate century.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)

Top