A newer version of this page is available. Switch to the current version.

TimeInterval Constructors

A time interval object.
Name Parameters Description
TimeInterval() none Initializes a new instance of the TimeInterval class with default settings.
TimeInterval(DateTime, DateTime) start, end Initializes a new instance of the TimeInterval class with the specified start date and end date.
TimeInterval(DateTime, TimeSpan) start, duration Initializes a new instance of the TimeInterval class with the specified start date and duration.
See Also