WeekDay
Contents
[
Hide
]WeekDay class
Represents a weekday which either defines regular days of a week or exception days in a calendar.
Constructors
| Name | Description |
|---|---|
| WeekDay (4 overloads) | Initializes a new instance of the WeekDay class with the specified day type. |
Methods
| Name | Description |
|---|---|
| CastToDayType | Casts .Net’s DayOfWeek to DayType . |
| Clone | Returns a deep copy of the week day. |
| CreateDefaultWorkingDay | Creates default working day. |
| Equals | Returns a value indicating whether this instance is equal to a specified object. |
| get_DayType | Gets the type of a day. |
| get_DayWorking | Gets a value indicating whether the specified date or day type is working. |
| get_FromDate | Gets the beginning of an exception time. |
| get_ToDate | Gets the end of an exception time. |
| get_WorkingTimes | Gets WorkingTimeCollection for this WeekDay instance. The collection of working times that define the time worked on the weekday. |
| GetHashCode | Returns a hash code value for the instance of the WeekDay class. |
| GetWorkingTime | Returns the working time for a week day. |
| set_DayWorking | Sets a value indicating whether the specified date or day type is working. |
| set_FromDate | Sets the beginning of an exception time. |
| set_ToDate | Sets the end of an exception time. |
| SetDefaultWorkingTime | Sets default time periods for the specified week day. |