This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Calendar Members
Public:
Properties
Eras |
[To be supplied.] |
TwoDigitYearMax |
Gets and sets the maximum value to represent a 2-digit year. |
Methods
AddDays |
Returns the DateTime object resulting from adding a fractional number of days to the specified DateTime. |
AddHours |
Returns the DateTime resulting from adding a fractional number of hours to the specified DateTime. |
AddMilliseconds |
Returns the DateTime resulting from adding the specified number of milliseconds to the specified DateTime. |
AddMinutes |
Returns the DateTime resulting from adding a fractional number of minutes to the specified DateTime. |
AddMonths |
Returns the DateTime resulting from adding the specified number of months to the specified DateTime. |
AddSeconds |
Returns the DateTime resulting from adding a number of seconds to the specified DateTime. |
AddWeeks |
Returns the DateTime resulting from adding a number of weeks to the specified DateTime. |
AddYears |
Returns the DateTime resulting from adding the specified number of years to the specified DateTime. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetDayOfMonth |
Returns the day-of-month part of the specified DateTime. |
GetDayOfWeek |
Returns the day-of-week part of the specified DateTime. |
GetDayOfYear |
Returns the day-of-year part of the specified DateTime. |
GetDaysInMonth |
Overloaded. Returns the number of days in the specified month. |
GetDaysInYear |
Overloaded. [To be supplied.] |
GetEra |
Overloaded. [To be supplied.] |
GetEraName |
[To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetHour |
Returns the hour part of the specified DateTime. |
GetMilliseconds |
Returns the millisecond part of the specified DateTime. |
GetMinute |
Returns the minute part of the specified DateTime. |
GetMonth |
Returns the month part of the specified DateTime. |
GetMonthsInYear |
Overloaded. [To be supplied.] |
GetSecond |
Returns the second [RB26] part of the specified DateTime. |
GetType (inherited from Object) |
Gets the Type of the Object. |
GetWeekOfYear |
Returns the week of year for the specified DateTime. |
GetYear |
Returns the year part of the specified DateTime. |
IsLeapDay |
Overloaded. [To be supplied.] |
IsLeapMonth |
Overloaded. [To be supplied.] |
IsLeapYear |
Overloaded. [To be supplied.] |
ToDateTime |
Overloaded. Returns [RB39] the date and time converted to a DateTime value. |
ToFourDigitYear |
Converts the specified year to the appropriate century by using the TwoDigitYearMax property. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Fields
CurrentEra |
Represents the current era for the current calendar. |
Protected:
Constructor
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
Calendar Class | System.Globalization Namespace