Represents an interval of real numbers.
Namespace:
Extreme.Statistics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public struct DateTimeInterval
Public Structure DateTimeInterval
public value class DateTimeInterval
[<SealedAttribute>]
type DateTimeInterval = struct end
The DateTimeInterval type exposes the following members.
Top
| Name | Description |
---|
 | LowerBound |
Gets the lower bound of the interval.
|
 | UpperBound |
Gets the upper bound of the interval.
|
 | Width |
Gets the width of the interval.
|
Top
Top
Top
Use the DateTimeInterval structure to represent an interval of real numbers.
The LowerBound and UpperBound properties return the
bounds of the interval. The Width property returns the width of the interval.
The Contains(DateTime) method determines whether a value is contained within an interval.
Arithmetic operators are defined for combining intervals. For languages that do not support
operator overloading, equivalent methods have been supplied.
DateTimeInterval structures are immutable. The lower and upper bounds can not be changed.
Use the constructor or one of the operator methods to create an
DateTimeInterval
with new values for the boundaries.
Reference