WeekDays Element
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Contains the collection of WeekDay elements that define a calendar.
<WeekDays>
ComplexTypeValue
</WeekDays>
Parent Elements
Child Elements
Occurrences
Minimum: 0 Maximum: 1 |
Example
In the following example, Saturday (DayType = 7) and Sunday (DayType = 1) are nonworking days.
<WeekDays>
<WeekDay>
<DayType>1</DayType>
<DayWorking>0</DayWorking>
</WeekDay>
<WeekDay>
<DayType>2</DayType>
<DayWorking>1</DayWorking>
<WorkingTimes>
<WorkingTime>
<FromTime>08:00:00</FromTime>
<ToTime>12:00:00</ToTime>
</WorkingTime>
<WorkingTime>
<FromTime>13:00:00</FromTime>
<ToTime>17:00:00</ToTime>
</WorkingTime>
</WorkingTimes>
</WeekDay>
<WeekDay>
<DayType>3</DayType>
<DayWorking>1</DayWorking>
<WorkingTimes>
<WorkingTime>
<FromTime>08:00:00</FromTime>
<ToTime>12:00:00</ToTime>
</WorkingTime>
<WorkingTime>
<FromTime>13:00:00</FromTime>
<ToTime>17:00:00</ToTime>
</WorkingTime>
</WorkingTimes>
</WeekDay>
<WeekDay>
<DayType>4</DayType>
<DayWorking>1</DayWorking>
<WorkingTimes>
<WorkingTime>
<FromTime>08:00:00</FromTime>
<ToTime>12:00:00</ToTime>
</WorkingTime>
<WorkingTime>
<FromTime>13:00:00</FromTime>
<ToTime>17:00:00</ToTime>
</WorkingTime>
</WorkingTimes>
</WeekDay>
<WeekDay>
<DayType>5</DayType>
<DayWorking>1</DayWorking>
<WorkingTimes>
<WorkingTime>
<FromTime>08:00:00</FromTime>
<ToTime>12:00:00</ToTime>
</WorkingTime>
<WorkingTime>
<FromTime>13:00:00</FromTime>
<ToTime>17:00:00</ToTime>
</WorkingTime>
</WorkingTimes>
</WeekDay>
<WeekDay>
<DayType>6</DayType>
<DayWorking>1</DayWorking>
<WorkingTimes>
<WorkingTime>
<FromTime>08:00:00</FromTime>
<ToTime>12:00:00</ToTime>
</WorkingTime>
<WorkingTime>
<FromTime>13:00:00</FromTime>
<ToTime>17:00:00</ToTime>
</WorkingTime>
</WorkingTimes>
</WeekDay>
<WeekDay>
<DayType>7</DayType>
<DayWorking>0</DayWorking>
</WeekDay>
</WeekDays>