Range<T> Class
Definition
Represents a period of time between two T.
public abstract class Range<T> : IEqualityComparer<Range<T>> where T : IFormattable
Type Parameters
TThe type of the time measurement.
- Inheritance
-
Range<T>
- Implements
- Derived
Constructors
| Name | Description |
|---|---|
| Range(T, T, Func<TimeSpan>) | Initializes a new instance of the Range<T> class. |
Properties
| Name | Description |
|---|---|
| Duration | |
| End | Gets the point of time where this time range end. |
| Start | Gets the point of time where this time range begin. |
Methods
| Name | Description |
|---|---|
| Equals(Range<T>, Range<T>) | Determines whether the specified objects are equal. |
| GetHashCode(Range<T>) | Returns a hash code for this instance. |
| ToString(string, IFormatProvider) | Returns a string that represents this instance. |
See Also
Range<T>