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

  <granularity name = "second">
    <irregularMapping from = "minute" relationship = "coarserToFiner" >
      <method name = "castMinuteToSecond"/>
    </irregularMapping>
  </granularity>

  <granularity name = "minute">
    <irregularMapping from = "second">
      <method name = "castSecondToMinute"/>
    </irregularMapping>
  </granularity>

  <granularity name = "hour">
    <regularMapping from = "minute" groupSize = "60"/>
  </granularity>  

  <granularity name = "day" >
    <regularMapping from = "hour" groupSize = "24"/>
    <irregularMapping from = "month" relationship = "coarserToFiner">
      <method name="castMonthToDay" />
    </irregularMapping>
  </granularity>

  <granularity name = "week" >
    <regularMapping from = "day" groupSize = "7"/>
  </granularity>  

  <granularity name = "month" >
    <irregularMapping from = "day">
      <method name="castDayToMonth"/>
    </irregularMapping>
  </granularity>

  <granularity name="year" >
    <regularMapping from = "month" groupSize = "12"/>    
  </granularity>

</calendarSpecification>