DayOfTheWeek DayOfTheWeek DayOfTheWeek Enum

Definition

Specifies the day of the week.

public enum class DayOfTheWeek
public enum DayOfTheWeek
Public Enum DayOfTheWeek
Inheritance
DayOfTheWeekDayOfTheWeekDayOfTheWeek

Fields

Day Day Day 7

Any day of the week.

Friday Friday Friday 5

Friday.

Monday Monday Monday 1

Monday.

Saturday Saturday Saturday 6

Saturday.

Sunday Sunday Sunday 0

Sunday.

Thursday Thursday Thursday 4

Thursday.

Tuesday Tuesday Tuesday 2

Tuesday.

Wednesday Wednesday Wednesday 3

Wednesday.

Weekday Weekday Weekday 8

Any day of the usual business week (Monday through Friday).

WeekendDay WeekendDay WeekendDay 9

Any weekend day (Saturday or Sunday).

Remarks

The DayOfTheWeek enumeration value is the same as the T:System.DayOfWeekSunday through Saturday). These values can be safely cast between the two enumerations. The special days of the week (Day, Weekday, and WeekendDay) are used for monthly and yearly recurrences and cannot be cast to T:System.DayOfWeek

Applies to