Date Constructor (DateTime, DateComponents)
IT Hit WebDAV Classes Reference
Creates a new instance of this class.
Namespace:
ITHit.Collab
Assembly:
ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax public Date(
DateTime date,
DateComponents dateComponents
)
Public Sub New (
date As DateTime,
dateComponents As DateComponents
)
public:
Date(
DateTime date,
DateComponents dateComponents
)
new :
date : DateTime *
dateComponents : DateComponents -> Date
Parameters
- date
- Type: SystemDateTime
Date and time. - dateComponents
- Type: ITHit.CollabDateComponents
Components that are valid in the date parameter.
Remarks
To create a date-time in UTC, the Kind passed in [!:date]
parameter must be set to Utc. To create a "floating" date-time, the Kind passed in [!:date]
parameter must be set to Local.
See Also