public static int compareDateTime(NodeValue nv1, NodeValue nv2) { if ( strictDateTimeFO ) return compareDateTimeFO(nv1, nv2) ; return compareXSDDateTime(nv1.getDateTime(), nv2.getDateTime()) ; }
public static int compareDateTime(NodeValue nv1, NodeValue nv2) { if ( strictDateTimeFO ) return compareDateTimeFO(nv1, nv2) ; return compareXSDDateTime(nv1.getDateTime(), nv2.getDateTime()) ; }
private static int compareDateTimeFO(NodeValue nv1, NodeValue nv2) XSDDateTime dt1 = nv1.getDateTime() ; XSDDateTime dt2 = nv2.getDateTime() ; if ( nv3 != null ) XSDDateTime dt3 = nv3.getDateTime() ; x = compareXSDDateTime(dt3, dt2) ; if ( x == XSDDateTime.INDETERMINATE ) if ( nv3 != null ) XSDDateTime dt3 = nv3.getDateTime() ; x = compareXSDDateTime(dt1, dt3) ; if ( x == XSDDateTime.INDETERMINATE )
private static int compareDateFO(NodeValue nv1, NodeValue nv2) XSDDateTime dt1 = nv1.getDateTime() ; XSDDateTime dt2 = nv2.getDateTime() ; if ( nv3 != null ) XSDDateTime dt3 = nv3.getDateTime() ; x = compareXSDDateTime(dt3, dt2) ; if ( x == XSDDateTime.INDETERMINATE ) if ( nv3 != null ) XSDDateTime dt3 = nv3.getDateTime() ; x = compareXSDDateTime(dt1, dt3) ; if ( x == XSDDateTime.INDETERMINATE )
private static int compareDateTimeFO(NodeValue nv1, NodeValue nv2) XMLGregorianCalendar dt1 = nv1.getDateTime() ; XMLGregorianCalendar dt2 = nv2.getDateTime() ; if ( nv3 != null ) XMLGregorianCalendar dt3 = nv3.getDateTime() ; x = compareXSDDateTime(dt3, dt2) ; if ( x == XSDDateTime.INDETERMINATE ) if ( nv3 != null ) XMLGregorianCalendar dt3 = nv3.getDateTime() ; x = compareXSDDateTime(dt1, dt3) ; if ( x == XSDDateTime.INDETERMINATE )
XMLGregorianCalendar cal1 = nv1.getDateTime() ; XMLGregorianCalendar cal2 = nv2.getDateTime() ; boolean isDef1 = ( cal1.getTimezone() == FIELD_UNDEFINED ) ; boolean isDef2 = ( cal2.getTimezone() == FIELD_UNDEFINED ) ; XMLGregorianCalendar cal = nv1.getDateTime() ; XMLGregorianCalendar cal = nv1.getDateTime() ; XMLGregorianCalendar cal = nv1.getDateTime() ;
throw new ExprEvalTypeException("Not a date/time type: "+nv) ; XSDDateTime xsdDT = nv.getDateTime() ;
throw new ExprEvalTypeException("Not a date/time type: "+nv) ; XMLGregorianCalendar xsdDT = nv.getDateTime() ;
XMLGregorianCalendar cal = nv1.getDateTime() ; XMLGregorianCalendar result = xsd_add(cal, nv2.getDuration()) ; NodeValue r = NodeValue.makeDateTime(result) ; XMLGregorianCalendar cal = nv1.getDateTime() ; XMLGregorianCalendar result = xsd_add(cal, nv2.getDuration()) ; NodeValue r = NodeValue.makeDate(result) ; XMLGregorianCalendar cal = nv1.getDateTime() ; XMLGregorianCalendar result = xsd_add(cal, nv2.getDuration()) ; NodeValue r = NodeValue.makeNode(result.toXMLFormat(), XSDDatatype.XSDtime) ;