return yearMonthDV.compareDates(((IntSequence)value1).getInts(), ((IntSequence)value2).getInts(), true);
return XMLCalendar.compare((XMLCalendar)value1, (XMLCalendar)value2);
  public int compareValues(Object value1, Object value2)  {    return yearMonthDV.compareDates(((IntSequence)value1).getInts(), ((IntSequence)value2).getInts(), true);  }