1<?xml version="1.0" standalone="yes"?>
2
3<wo class="WECalendarField">
4  <binding name="name" />
5
6  <binding name="date" />
7
8  <binding name="hour" />
9  <binding name="minute" />
10  <binding name="second" />
11  <binding name="day" />
12  <binding name="month" />
13  <binding name="year" />
14
15  <binding name="useTextField" />
16  <binding name="hourInterval" />
17  <binding name="minuteInterval" />
18  <binding name="secondInterval" />
19  <binding name="format" defaults="Date Format Strings" />
20
21  <validation message="either &apos;date&apos; or any of &apos;hour&apos;, &apos;minute&apos;, &apos;second&apos;, &apos;day&apos;, &apos;month&apos; and &apos;year&apos; may be bound">
22    <count test="!=1">
23      <bound name="date"/>
24      <or>
25        <bound name="hour"/>
26        <bound name="minute"/>
27        <bound name="second"/>
28        <bound name="day"/>
29        <bound name="month"/>
30        <bound name="year"/>
31      </or>
32    </count>
33  </validation>
34</wo>
35