NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

GregorianCalendar Members

Public:

Constructor

GregorianCalendar Constructor Overloaded. [To be supplied.]

Properties

CalendarType [To be supplied.]
Eras [To be supplied.]
TwoDigitYearMax Returns the date and time converted to a DateTime value. This value is the upper boundary of a 100-year range that allows a two-digit year to be properly translated to a four-digit year.

Methods

AddDays (inherited from Calendar) Returns the DateTime object resulting from adding a fractional number of days to the specified DateTime.
AddHours (inherited from Calendar) Returns the DateTime resulting from adding a fractional number of hours to the specified DateTime.
AddMilliseconds (inherited from Calendar) Returns the DateTime resulting from adding the specified number of milliseconds to the specified DateTime.
AddMinutes (inherited from Calendar) Returns the DateTime resulting from adding a fractional number of minutes to the specified DateTime.
AddMonths Returns the DateTime resulting from adding the given number of months to the specified DateTime.
AddSeconds (inherited from Calendar) 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 given 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 given 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. [To be supplied.]
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 (inherited from Calendar) Returns the hour part of the specified DateTime.
GetMilliseconds (inherited from Calendar) Returns the millisecond part of the specified DateTime.
GetMinute (inherited from Calendar) Returns the minute part of the specified DateTime.
GetMonth Returns the month part of the specified DateTime.
GetMonthsInYear Overloaded. [To be supplied.]
GetSecond (inherited from Calendar) 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 given Datetime.
GetYear Returns the year part of the specified DateTime.
IsLeapDay Overloaded. [To be supplied.]
IsLeapMonth Overloaded. [To be supplied.]
IsLeapYear (inherited from Calendar) Overloaded. [To be supplied.]
ToDateTime Overloaded. [To be supplied.]
ToFourDigitYear (inherited from Calendar) 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

ADEra [To be supplied.]

Protected:

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

GregorianCalendar Class | System.Globalization Namespace