Export (0) Print
Expand All

Calendar Methods

The Calendar type exposes the following members.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 AddDays Returns a DateTime that is the specified number of days away from the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 AddHours Returns a DateTime that is the specified number of hours away from the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 AddMilliseconds Returns a DateTime that is the specified number of milliseconds away from the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 AddMinutes Returns a DateTime that is the specified number of minutes away from the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 AddSeconds Returns a DateTime that is the specified number of seconds away from the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 AddWeeks Returns a DateTime that is the specified number of weeks away from the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetDayOfMonth When overridden in a derived class, returns the day of the month in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetDayOfWeek When overridden in a derived class, returns the day of the week in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetDayOfYear When overridden in a derived class, returns the day of the year in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetDaysInMonth(Int32, Int32) Returns the number of days in the specified month and year of the current era.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetDaysInYear(Int32) Returns the number of days in the specified year of the current era.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetDaysInYear(Int32, Int32) When overridden in a derived class, returns the number of days in the specified year and era.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetEra When overridden in a derived class, returns the era in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHour Returns the hours value in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetLeapMonth Calculates the leap month for a specified year and era.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetMilliseconds Returns the milliseconds value in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetMinute Returns the minutes value in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetMonth When overridden in a derived class, returns the month in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetMonthsInYear(Int32) Returns the number of months in the specified year in the current era.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetSecond Returns the seconds value in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetWeekOfYear Returns the week of the year that includes the date in the specified DateTime value.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetYear When overridden in a derived class, returns the year in the specified DateTime.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLeapDay(Int32, Int32, Int32) Determines whether the specified date in the current era is a leap day.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLeapMonth(Int32, Int32) Determines whether the specified month in the specified year in the current era is a leap month.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLeapYear(Int32) Determines whether the specified year in the current era is a leap year.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToFourDigitYear Converts the specified year to a four-digit year by using the TwoDigitYearMax property to determine the appropriate century.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft