[This is preliminary documentation and is subject to change.]

The DateTimeConst type exposes the following members.

Constructors

  NameDescription
Public methodDateTimeConst
Default class constructor

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAbbreviatedDayName
Gets the abbreviated day name
Public methodGetDayNamesOverloaded.
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetMonthNames
Returns the culture-specific full name of the specified month based on the System.Globalization.CultureInfo of the current thread. System.Globalization..::.DateTimeFormatInfo
Public methodGetRank
Returns the Rank of a particular integer
Public methodGetShortMonthNames
Returns the short name of the specified month based on the CultureOnfo of the current thread.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyStatic memberMediumDateFormat
Returns the medium date format for the current site. The medium date format is used in many places like lists where the short date format is too small and the long date format is too large
Public propertyStatic memberMediumDateTimeFormat
Returns the medium Datetime format for the current site. The medium Datetime format is used in many places like lists where the short Datetime format is too small and the long Datetime format is too large
Public propertyStatic memberMediumTimeFormat
Returns the medium time format for the current site. The medium time format is used in many places like lists where the short time format is too small and the long time format is too large

See Also