<calendarSpecification underlyingGranularity="hour" 
implUrl = "file:///local/users/cdyreson/tauzaman/tests/iotests/files/UofACalendar.class">

  <granularity name = "hour">
  </granularity> 

  <granularity name = "day" >
    <regularMapping from = "hour" groupSize = "14"/>
  </granularity>

  <granularity name = "week" >
    <regularMapping from = "day" groupSize = "5"/>
    <irregularMapping from = "term" relationship = "coarserToFiner" >
      <method name = "castTermToWeek"/>
    </irregularMapping>
  </granularity>  

  <granularity name = "term" >
    <irregularMapping from = "week">
      <method name = "castWeekToTerm"/>
    </irregularMapping>
  </granularity>

  <granularity name = "academicYear" >
    <regularMapping from = "term" groupSize = "4"/>
  </granularity>

</calendarSpecification>