This documentation is archived and is not being maintained.

Calendar Methods

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AddDays Returns a DateTime that is the specified number of days away from the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AddHours Returns a DateTime that is the specified number of hours away from the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AddMilliseconds Returns a DateTime that is the specified number of milliseconds away from the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AddMinutes Returns a DateTime that is the specified number of minutes away from the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 the .NET Compact Framework Supported by the XNA Framework AddSeconds Returns a DateTime that is the specified number of seconds away from the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AddWeeks Returns a DateTime that is the specified number of weeks away from the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AddYears When overridden in a derived class, returns a DateTime that is the specified number of years away from the specified DateTime.
Public method Clone Creates a new object that is a copy of the current Calendar object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetDayOfMonth When overridden in a derived class, returns the day of the month in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetDayOfWeek When overridden in a derived class, returns the day of the week in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetDayOfYear When overridden in a derived class, returns the day of the year in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetDaysInMonth Overloaded. When overridden in a derived class, returns the number of days in the specified month.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetDaysInYear Overloaded. When overridden in a derived class, returns the number of days in the specified year.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEra When overridden in a derived class, returns the era in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHour Returns the hours value in the specified DateTime.
Public method GetLeapMonth Overloaded. Calculates the leap month for a specified year, or year and era.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMilliseconds Returns the milliseconds value in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMinute Returns the minutes value in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMonth When overridden in a derived class, returns the month in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMonthsInYear Overloaded. When overridden in a derived class, returns the number of months in the specified year.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetSecond Returns the seconds value in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetWeekOfYear Returns the week of the year that includes the date in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetYear When overridden in a derived class, returns the year in the specified DateTime.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsLeapDay Overloaded. When overridden in a derived class, determines whether a date is a leap day.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsLeapMonth Overloaded. When overridden in a derived class, determines whether a month is a leap month.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsLeapYear Overloaded. When overridden in a derived class, determines whether a year is a leap year.
Public method Static ReadOnly Returns a read-only version of the specified Calendar object.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToDateTime Overloaded. When overridden in a derived class, returns a DateTime that is set to the specified date and time.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToFourDigitYear Converts the specified year to a four-digit year by using the TwoDigitYearMax property to determine the appropriate century.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Show: