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

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[])
AddWorkDay(DayOfWeek) Adds the specified day of the week to the workweek schedule.
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.
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