Skip to main content

WorkTimeCollection Members

Represents a collection of WortTime objects that specify a day’s schedule (for example, 9:00 to 12:00 and 13:00 to 18:00).

Constructors

Name Description
WorkTimeCollection() Initializes a new WorkTimeCollection class instance.

Properties

Name Description
IsNonWorkDay Gets whether this collection is empty.

Methods

Name Description
Add(TimeSpan, TimeSpan) Adds a time interval with the specified start and end time to the collection.
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 object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
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 a string that represents the current object. Inherited from Object.
See Also