NodeValue nv3 = (nv1.isDate()) ? fixupDate(nv1) : fixupDateTime(nv1) ;
if ( nv3 != null ) {
XMLGregorianCalendar dt3 = nv3.getDateTime() ;
x = compareXSDDateTime(dt3, dt2) ;
if ( x == XSDDateTime.INDETERMINATE )
throw new ARQInternalErrorException("Still get indeterminate comparison") ;
return x ;
}
nv3 = (nv2.isDate()) ? fixupDate(nv2) : fixupDateTime(nv2) ;
if ( nv3 != null ) {
XMLGregorianCalendar dt3 = nv3.getDateTime() ;
x = compareXSDDateTime(dt1, dt3) ;
if ( x == XSDDateTime.INDETERMINATE )
throw new ARQInternalErrorException("Still get indeterminate comparison") ;
return x ;
}
throw new ARQInternalErrorException("Failed to fixup dateTimes") ;
}
return x ;
}