Class DateTimeRange
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Represents a period of time between two System.DateTime values.
public class DateTimeRange : Range<DateTime>, IEqualityComparer<Range<DateTime>>
- Inheritance
-
ObjectRange<DateTime>DateTimeRange
- Implements
- Inherited Members
Constructors
DateTimeRange(DateTime, DateTime)
Initializes a new instance of the DateTimeRange struct.
public DateTimeRange(DateTime start, DateTime end)
Parameters
start
DateTimeThe start date of a time range.
end
DateTimeThe end date of a time range.
Methods
ToString()
Returns a System.String that represents this instance.
public override string ToString()
Returns
- String
A System.String that represents this instance.