Click or drag to resize

Date Class

IT Hit WebDAV Classes Reference
Represents date and time with a set of flags that mark which date and time parts are specified.
Inheritance Hierarchy
SystemObject
  ITHit.CollabDate

Namespace:  ITHit.Collab
Assembly:  ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax
public class Date

public class Date

The Date type exposes the following members.

Constructors
  NameDescription
Public methodDate(DateTime)
Creates a new instance of this class with in which all components are valid (the Components property set to DateAndTime).
Public methodDate(DateTime, DateComponents)
Creates a new instance of this class.
Top
Properties
  NameDescription
Public propertyComponents
Gets or sets flags that mark components are valid in DateTime returned from DateVal property.
Public propertyDateVal
Gets or sets date and time stored in this property. Use Components property to test or set valid DateTime components.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The Components property contains a set of flags that specifies what components are valid in DateTime returned from DateVal property.

See Also