Skip to main content

DateTimeRange Constructors

Time interval which provides extended operations such as Union and Intersect.
Name Parameters Description
DateTimeRange(DateTimeRange) source Initializes a new instance of the DateTimeRange class with specified settings.
DateTimeRange(DateTime, DateTime) start, end Initializes a new instance of the DateTimeRange class with the specified settings.
DateTimeRange(DateTime, TimeSpan) start, duration
See Also