public sealed class TimeInterval : IEquatable<TimeInterval>, IEquatableEpsilon<TimeInterval>
Public NotInheritable Class TimeInterval Implements IEquatable(Of TimeInterval), IEquatableEpsilon(Of TimeInterval)
public ref class TimeInterval sealed : IEquatable<TimeInterval^>, IEquatableEpsilon<TimeInterval^>
[<SealedAttribute>] type TimeInterval = class interface IEquatable<TimeInterval> interface IEquatableEpsilon<TimeInterval> end
Thetype exposes the following members.
Initializes a new interval with the specified start date and stop date. The new interval is closed, meaning that both end points are included.
|TimeInterval(JulianDate, JulianDate, Boolean, Boolean)|
Initializes a new interval with the specified start date, stop date, and data. It is also specified whether or not the start and stop dates are included.
Gets an empty interval.
Gets an interval that represents the maximum possible span of time.
Gets a value indicating whether or not the interval is empty. Emptiness is defined as either the stop time comes before the start time, or the interval represents zero duration with exclusive endpoints. To probe if the amount of time contained in an interval is zero, convert to a duration using ToDuration and check for equality with Zero.
Gets a value indicating whether or not the Start date is included in the interval.
Gets a value indicating whether or not the Stop date is included in the interval.
Gets the start date of the interval.
Gets the stop date of the interval.
Adds two intervals together, producing an interval list that includes both intervals.
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.
Determines if the interval contains a specified date.
Indicates whether another object is exactly equal to this instance.(Overrides ObjectEquals(Object).)
Indicates whether another instance of this type is exactly equal to this instance.
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.(Overrides ObjectGetHashCode.)
Gets the Type of the current instance.(Inherited from Object.)
Computes an interval which is the intersection of this interval with another.
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 ObjectToString.)
Returns aequivalent to this one where the time standard of the start and end dates has been converted to the specified standard.
Returns if the two instances are exactly equal.
Returns if the two instances are not exactly equal.