All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

WorkWeekRule Methods

Represents a regular workweek schedule.
Name Description
Add(WorkDayOfWeek) Adds the specified day of week to the workweek.'
Add(DayOfWeek, WorkTime[]) Adds the specified day of week to the workweek.
Add(DayOfWeek, IEnumerable<WorkTime>) Adds the specified day of week to the workweek.
AddNonWorkDay(DayOfWeek) Adds the specified day of the week to the workweek schedule as a non-work day.
AddRange(WorkDayOfWeek[]) Adds an array to the collection.
AddWorkDay(DayOfWeek) Adds the specified day of the week to the workweek schedule.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetDefaultWorkTime(DayOfWeek) For internal use.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Includes(DateTime) Returns whether the rules includes the specified date. Inherited from BaseRule.
Includes(Int64) For internal use.
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