Skip to main content
A newer version of this page is available. .

WorkTimeInterval Methods

A time interval that can be used instead of the TimeOfDayInterval class to specify the work time within a day.
Name Description
Assign(TimeOfDayInterval) Copies all settings from the object passed as the parameter to the current object. Inherited from TimeOfDayInterval.
Clone() Creates a copy of the current TimeOfDayInterval object. Inherited from TimeOfDayInterval.
Contains(TimeSpan) Determines whether the time of day interval contains the specified time. Inherited from TimeOfDayInterval.
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. Inherited from TimeOfDayInterval.
GetHashCode() Gets the hash code (the number) that corresponds to the value of the current TimeOfDayInterval object. Inherited from TimeOfDayInterval.
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. Inherited from TimeOfDayInterval.
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. Inherited from TimeOfDayInterval.
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. Inherited from TimeOfDayInterval.
ToTimeInterval() Converts the TimeOfDayInterval value to the TimeInterval type. Inherited from TimeOfDayInterval.
ToTimeInterval(DateTime) Converts the TimeOfDayInterval value to the TimeInterval type starting from the specified date. Inherited from TimeOfDayInterval.
Union(TimeOfDayInterval, TimeOfDayInterval) static Returns a time of day interval which is composed of two specified time of day intervals. Inherited from TimeOfDayInterval.
See Also