DateInterval MethodsNoda Time

[This is preliminary documentation and is subject to change.]

The DateInterval type exposes the following members.

Public methodContains
Checks whether the given date is within this date interval. This requires that the date is not earlier than the start date, and not later than the end date. If the given date is exactly equal to the end date, it is considered to be within the interval if and only if the interval is Inclusive.
Public methodEquals(Object)
Compares the given object for equality with this one, as per Equals(DateInterval).
(Overrides OnlineObject Equals(Object).)
Public methodEquals(DateInterval)
Compares the given date interval for equality with this one.
Public methodGetHashCode
Returns the hash code for this interval, consistent with Equals(DateInterval).
(Overrides OnlineObject GetHashCode .)
Public methodToString
Returns a string representation of this interval.
(Overrides OnlineObject ToString .)
Back to Top
See Also