2.2.5.8 CalendarEvent Element

The CalendarEvent XML element specifies the scheduling parameters for a calendar event that is associated with a resource allocation policy (RAP). It is used in the definition of Calendar and Schedule elements (section 2.2.5.7 and 2.2.5.26).

 <xs:element name="CalendarEvent"
   minOccurs="0"
   maxOccurs="1"
 > 
   <xs:complexType name="CalendarEvent">
     <xs:choice
       minOccurs="1"
       maxOccurs="unbounded"
     >
       <xs:element name="PolicyName"
         type="xs:string"
         minOccurs="0"
         maxOccurs="1"
        />
       <xs:element name="TmStart"
         type="xs:string"
         minOccurs="1"
         maxOccurs="1"
        />
       <xs:element name="DurationDays"
         type="xs:unsignedByte"
         minOccurs="0"
         maxOccurs="1"
        />
       <xs:element name="DurationHours"
         type="xs:unsignedByte"
         minOccurs="0"
         maxOccurs="1"
        />
       <xs:element name="DurationMinutes"
         type="xs:unsignedByte"
         minOccurs="0"
         maxOccurs="1"
        />
     </xs:choice>
   </xs:complexType>
 </xs:element>

Child Elements

Element

Type

Description

PolicyName

xs:string

A string that specifies the name of the policy associated with the event.

TmStart

xs:string

A string that specifies the start time of the event, in time format (section 2.2.1.3).

DurationDays

xs:unsignedByte

An 8-bit unsigned integer that specifies the duration in days of the event.

DurationHours

xs:unsignedByte

An 8-bit unsigned integer that specifies the duration in hours of the event.

DurationMinutes

xs:unsignedByte

An 8-bit unsigned integer that specifies the duration in minutes of the event.

Additional XML data formats are specified in section 2.2.5.