TimeInterval Methods |
The TimeInterval type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add(TimeInterval) |
Adds two intervals together, producing an interval list that
includes both intervals.
|
![]() | Add(TimeIntervalCollection) |
Adds an interval list to this interval, producing a new interval list
that includes this interval plus all intervals in the input list.
The input list is not changed by this method.
|
![]() | AddData<T> |
Creates a TimeInterval<T> that is equivalent to this time interval,
but with the specified Data value.
|
![]() | Contains |
Determines if the interval contains a specified date.
|
![]() | Equals(Object) |
Indicates whether another object is exactly equal to this instance.
(Overrides Object.Equals(Object).) |
![]() | Equals(TimeInterval) |
Indicates whether another instance of this type is exactly equal to this instance.
|
![]() | EqualsEpsilon | |
![]() | GetHashCode |
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides Object.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Intersect |
Computes an interval which is the intersection of this interval with another.
|
![]() | ToDuration | |
![]() | ToString |
Returns a string with interval in the format "[Start, Stop)". Square brackets indicate
that the end point of the interval is included in the intervals. Parenthesis indicate that the
end point is not included.
(Overrides Object.ToString().) |
![]() | ToTimeStandard |
Returns a TimeInterval equivalent to this one where the time standard
of the start and end dates has been converted to the specified standard.
|