TimeOfDayInterval Methods
A time interval within a day.Name | Description |
---|---|
Assign(TimeOfDayInterval) | Copies all settings from the object passed as the parameter to the current object. |
Clone() | Creates a copy of the current TimeOfDayInterval object. |
Contains(TimeSpan) | Determines whether the time of day interval contains the specified time. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current TimeOfDayInterval instance. |
GetHashCode() | Gets the hash code (the number) that corresponds to the value of the current TimeOfDayInterval object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
Intersect(TimeOfDayInterval, TimeOfDayInterval) static | Returns a time-of-day interval which is the intersection of the two specified time-of-day intervals. |
IntersectsWithExcludingBounds(TimeOfDayInterval) | Checks if the current time of day interval intersects with the specified time of day interval. The boundaries of the time intervals are excluded from the check. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns the textual representation of the time-of-day interval. |
ToTimeInterval() | Converts the TimeOfDayInterval value to the TimeInterval type. |
ToTimeInterval(DateTime) | Converts the TimeOfDayInterval value to the TimeInterval type starting from the specified date. |
Union(TimeOfDayInterval, TimeOfDayInterval) static | Returns a time of day interval which is composed of two specified time of day intervals. |
See Also