|
Implementations | ||||||||||||||||
Tests | BaseX 7.7 XQ30 |
EMC/xDB xDB_main_r2411365 XQ30 |
Saxon-EE 9.5.1.1 XP20 |
Saxon-EE 9.5.1.1 XQ10 |
Saxon-EE 9.5.1.1 XP30 |
Saxon-EE 9.5.1.1 XQ30 |
Saxon-EE 9.5.1.4 XQX30 (QT3 v1.1) |
XmlPrime 3.0.0.0 XP30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XP20 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX10 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ30 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
op-subtract-dayTimeDuration-from-time | 27/27 | 27/27 | 26/26 | 27/27 | 26/26 | 27/27 | 27/27 | 26/26 | 27/27 | 27/27 | 26/26 | 27/27 | 27/27 | 27/27 | 27/27 | 3/15 |
op-subtract-dayTimeDuration-from-time2args-1[+]
X op-subtract-dayTimeDuration-from-time2args-1: xs:time("00:00:00Z") - xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time2args-2[+]
X op-subtract-dayTimeDuration-from-time2args-2: xs:time("08:03:35Z") - xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time2args-3[+]
X op-subtract-dayTimeDuration-from-time2args-3: xs:time("23:59:59Z") - xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time2args-4[+]
X op-subtract-dayTimeDuration-from-time2args-4: xs:time("00:00:00Z") - xs:dayTimeDuration("P15DT11H59M59S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time2args-5[+]
X op-subtract-dayTimeDuration-from-time2args-5: xs:time("00:00:00Z") - xs:dayTimeDuration("P31DT23H59M59S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-1[+]
X op-subtract-dayTimeDuration-from-time-1: xs:time("11:12:00") - xs:dayTimeDuration("P3DT1H15M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-2[+]
X op-subtract-dayTimeDuration-from-time-2: xs:time("08:20:00-05:00") - xs:dayTimeDuration("P23DT10H10M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-3[+]
X op-subtract-dayTimeDuration-from-time-3: fn:string((xs:time("12:12:01Z") - xs:dayTimeDuration("P19DT13H10M"))) or fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-4[+]
X op-subtract-dayTimeDuration-from-time-4: fn:not(fn:string(xs:time("20:50:50Z") - xs:dayTimeDuration("P02DT07H01M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-5[+]
X op-subtract-dayTimeDuration-from-time-5: fn:boolean(fn:string(xs:time("23:55:55Z") - xs:dayTimeDuration("P03DT08H06M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-6[+]
X op-subtract-dayTimeDuration-from-time-6: fn:number(xs:time("10:11:45Z") - xs:dayTimeDuration("P10DT08H01M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-7[+]
X op-subtract-dayTimeDuration-from-time-7: fn:string(xs:time("19:45:55Z") - xs:dayTimeDuration("P01DT09H02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-8[+]
X op-subtract-dayTimeDuration-from-time-8: (xs:time("01:01:01") - xs:dayTimeDuration("-P11DT02H02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-9[+]
X op-subtract-dayTimeDuration-from-time-9: fn:string((xs:time("10:10:10Z") - xs:dayTimeDuration("P02DT09H02M"))) and fn:string((xs:time("09:02:02Z") - xs:dayTimeDuration("P04DT04H04M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-10[+]
X op-subtract-dayTimeDuration-from-time-10: fn:string((xs:time("23:45:50Z") - xs:dayTimeDuration("P03DT01H04M"))) or fn:string((xs:time("23:45:50Z") + xs:dayTimeDuration("P01DT01H03M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-12[+]
X op-subtract-dayTimeDuration-from-time-12: fn:string((xs:time("02:02:02Z") - xs:dayTimeDuration("P05DT08H11M"))) and (fn:true()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-13[+]
X op-subtract-dayTimeDuration-from-time-13: (xs:time("01:03:03Z") - xs:dayTimeDuration("P23DT11H11M")) eq xs:time("04:03:05Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-14[+]
X op-subtract-dayTimeDuration-from-time-14: (xs:time("04:04:05Z") - xs:dayTimeDuration("P08DT08H05M")) ne xs:time("05:08:02Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-15[+]
X op-subtract-dayTimeDuration-from-time-15: fn:string((xs:time("08:09:09Z") - xs:dayTimeDuration("P17DT10H02M"))) le fn:string(xs:time("09:08:10Z")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-16[+]
X op-subtract-dayTimeDuration-from-time-16: fn:string((xs:time("09:06:07Z") - xs:dayTimeDuration("P18DT02H02M"))) ge fn:string(xs:time("01:01:01Z")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dayTimeDuration-from-time-17[+]
X op-subtract-dayTimeDuration-from-time-17: fn:string(xs:time("12:07:08Z") - xs:dayTimeDuration("P12DT10H07M")) and fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TimeSubtractDTD-1[+]
X K-TimeSubtractDTD-1: xs:time("08:12:32") - xs:dayTimeDuration("P23DT09H32M59S") eq xs:time("22:39:33") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TimeSubtractDTD-2[+]
X K-TimeSubtractDTD-2: xs:yearMonthDuration("P1Y") + xs:time("08:01:23") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TimeSubtractDTD-3[+]
X K-TimeSubtractDTD-3: xs:time("08:01:23") + xs:yearMonthDuration("P1Y") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TimeSubtractDTD-4[+]
X K-TimeSubtractDTD-4: xs:yearMonthDuration("P1Y") - xs:time("08:01:23") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TimeSubtractDTD-5[+]
X K-TimeSubtractDTD-5: xs:time("08:01:23") - xs:yearMonthDuration("P1Y") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-subtract-dayTimeDuration-from-time-001[+]
X cbcl-subtract-dayTimeDuration-from-time-001: declare function local:two-digit($number as xs:integer) { let $string := string($number) return if (string-length($string) lt 2) then concat('0', $string) else $string }; declare function local:time($hour as xs:integer, $mins as xs:integer) { let $h := local:two-digit($hour), $m := local:two-digit($mins) return xs:time(concat($h, ':', $m, ':00')) }; local:time(12, 59) - xs:dayTimeDuration("P0D") |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |