The DateTools type exposes the following members.

Methods

  NameDescription
Public methodStatic memberDateToString
Converts a Date to a string suitable for indexing.
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
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 methodStatic memberRound(DateTime, DateTools..::..Resolution)
Limit a date's resolution. For example, the date
CopyC#
2004-09-21 13:50:11
will be changed to
CopyC#
2004-09-01 00:00:00
when using
CopyC#
Resolution.MONTH
.
Public methodStatic memberRound(Int64, DateTools..::..Resolution)
Limit a date's resolution. For example, the date
CopyC#
1095767411000
(which represents 2004-09-21 13:50:11) will be changed to
CopyC#
1093989600000
(2004-09-01 00:00:00) when using
CopyC#
Resolution.MONTH
.
Public methodStatic memberStringToDate
Converts a string produced by
CopyC#
timeToString
or
CopyC#
DateToString
back to a time, represented as a Date object.
Public methodStatic memberStringToTime
Converts a string produced by
CopyC#
timeToString
or
CopyC#
DateToString
back to a time, represented as the number of milliseconds since January 1, 1970, 00:00:00 GMT.
Public methodStatic memberTimeToString
Converts a millisecond time to a string suitable for indexing.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also