HoursOfOperation Data Object
<xs:complexType name="HoursOfOperation"> <xs:sequence> <xs:element minOccurs="0" name="Day" type="tns:Day" /> <xs:element minOccurs="0" name="openTime1" nillable="true" type="tns:DayTimeInterval" /> <xs:element minOccurs="0" name="openTime2" nillable="true" type="tns:DayTimeInterval" /> </xs:sequence> </xs:complexType>
The day of the week that these hours apply to.
The first block of time that the business is open.
The second block of time that the business is open.
Open Time Elements
The openTime1 and openTime2 elements can be used to specify multiple blocks of time that a business is open. For example, if a business is open from 8:00 A.M. to 5:00 P.M. but is closed from 12:00 P.M. (noon) to 1:00 P.M., openTime1 would contain 8:00 A.M. to 12:00 P.M. (noon) and openTime2 would contain 1:00 P.M. to 5:00 P.M. If a business is open for only one block of time during a day, set the openTime2 element to null.
The openTime1 and openTime2 elements cannot overlap.
An array of objects of this type is used for the HrsOfOperation element of the Business data object.