WorkingTime Element (Calendar)

Defines up to five time periods for work on a working day or for a calendar exception.

<WorkingTime>
  ComplexTypeValue
</WorkingTime>

Parent Elements

WorkingTimes

Child Elements

Element

Required/Optional

Description

FromTime

Optional

Start of the working time.

ToTime

Optional

End of the working time.

Occurrences

Minimum: 1

Maximum: 5

Remarks

There must be at least one WorkingTime specified in a WorkingTimes collection, and there may be no more than five WorkingTime elements.

Example

The following example specifies two WorkingTime periods in a day.

<WorkingTimes>
   <WorkingTime>
      <FromTime>09:00:00</FromTime>
      <ToTime>12:00:00</ToTime>
   </WorkingTime>
   <WorkingTime>
      <FromTime>13:00:00</FromTime>
      <ToTime>17:00:00</ToTime>
   </WorkingTime>
</WorkingTimes>

See Also

Concepts

Calendar Elements and XML Structure

XML Schema for the Calendars Element