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