DateTimeInterval Methods

Methods

Add(DateTimeInterval, TimeSpan) Returns an interval shifted by a specified value..
Add(TimeSpan, DateTimeInterval) Returns an interval shifted by a specified value..
Contains Tests whether a number is contained in the interval.
Equals Returns whether this instance is equal to a specified object.
(Overrides ValueType.Equals(Object))
GetHashCode Returns the hash code for this instance.
(Overrides ValueType.GetHashCode())
GetTypeGets the Type of the current instance.
(Inherited from Object)
Subtract Returns an interval shifted to the left by a specified value.
ToString() Gets a string representation of the interval.
(Overrides ValueType.ToString())
ToString(String) Gets a string representation of the interval.
ToString(String, IFormatProvider) Gets a string representation of the interval.

See Also