[]
The WorkDays class specifies work days for the single week.
public class WorkDays
Name | Description |
---|---|
WorkDays() | Initializes a new instance of the WorkDays class. |
WorkDays(DayOfWeek[]) | Initializes a new instance of the WorkDays class. |
Name | Description |
---|---|
Days | Gets list of DayOfWeek objects of work days. |
Friday | Indicates Friday. |
Monday | Indicates Monday. |
Saturday | Indicates Saturday. |
Sunday | Indicates Sunday. |
Thursday | Indicates Thursday. |
Tuesday | Indicates Tuesday. |
Wednesday | Indicates Wednesday. |
Name | Description |
---|---|
IsSelected(DayOfWeek) | Gets a value indicating whether specified day is selected as a work day. |
ResetFriday() | Clears Friday. |
ResetMonday() | Clears Monday. |
ResetSaturday() | Clears Saturday. |
ResetSunday() | Clears Sunday. |
ResetThursday() | Clears Thursday. |
ResetTuesday() | Clears Tuesday. |
ResetWednesday() | Clears Wednesday. |
SetDay(DayOfWeek, bool) | Sets the specified DayOfWeek day. |
ShouldSerializeFriday() | Indicates whether the Friday property should be persisted. |
ShouldSerializeMonday() | Indicates whether the Monday property should be persisted. |
ShouldSerializeSaturday() | Indicates whether the Saturday property should be persisted. |
ShouldSerializeSunday() | Indicates whether the Sunday property should be persisted. |
ShouldSerializeThursday() | Indicates whether the Thursday property should be persisted. |
ShouldSerializeTuesday() | Indicates whether the Tuesday property should be persisted. |
ShouldSerializeWednesday() | Indicates whether the Wednesday property should be persisted. |
ToString() |