|
Implementations | |||||||
Tests | BaseX 8.5 beta XQ31 (QT3 vCVS) |
Saxon-EE 9.7.0.11 XP31 (QT3 v0.6) |
Saxon-EE 9.7.0.11 XQ31 (QT3 v0.6) |
XmlPrime 4.0.0.16079 XP31 (QT3 vCVS) |
XmlPrime 4.0.0.26293 XQ31 (QT3 vCVS) |
XmlPrime 4.0.0.27704 XQX31 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|
op-subtract-yearMonthDuration-from-dateTime | 23/23 | 21/21 | 23/23 | 21/21 | 23/23 | 23/21 | 0/6 |
op-subtract-yearMonthDuration-from-dateTime2args-1[+]
X op-subtract-yearMonthDuration-from-dateTime2args-1: Created on: 2004-12-13 Spec Dependencies: Test: xs:dateTime("1970-01-01T00:00:00Z") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime2args-2[+]
X op-subtract-yearMonthDuration-from-dateTime2args-2: Created on: 2004-12-13 Spec Dependencies: Test: xs:dateTime("1996-04-07T01:40:52Z") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime2args-3[+]
X op-subtract-yearMonthDuration-from-dateTime2args-3: Created on: 2004-12-13 Spec Dependencies: Test: xs:dateTime("2030-12-31T23:59:59Z") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime2args-4[+]
X op-subtract-yearMonthDuration-from-dateTime2args-4: Created on: 2004-12-13 Spec Dependencies: Test: xs:dateTime("1970-01-01T00:00:00Z") - xs:yearMonthDuration("P1000Y6M") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime2args-5[+]
X op-subtract-yearMonthDuration-from-dateTime2args-5: Created on: 2004-12-13 Spec Dependencies: Test: xs:dateTime("1970-01-01T00:00:00Z") - xs:yearMonthDuration("P2030Y12M") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-1[+]
X op-subtract-yearMonthDuration-from-dateTime-1: Created on: 2005-07-05 Spec Dependencies: Test: xs:dateTime("2000-10-30T11:12:00") - xs:yearMonthDuration("P1Y2M") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-2[+]
X op-subtract-yearMonthDuration-from-dateTime-2: Created on: 2005-07-05 Spec Dependencies: Test: fn:string(xs:dateTime("2000-12-12T12:12:12Z") - xs:dayTimeDuration("P12DT10H07M")) and fn:false() |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-3[+]
X op-subtract-yearMonthDuration-from-dateTime-3: Created on: 2005-07-05 Spec Dependencies: Test: fn:string((xs:dateTime("1999-10-23T13:45:45Z") - xs:yearMonthDuration("P19Y12M"))) or fn:false() |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-4[+]
X op-subtract-yearMonthDuration-from-dateTime-4: Created on: 2005-07-05 Spec Dependencies: Test: fn:not(fn:string(xs:dateTime("1998-09-12T13:56:12Z") - xs:yearMonthDuration("P20Y03M"))) |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-5[+]
X op-subtract-yearMonthDuration-from-dateTime-5: Created on: 2005-07-05 Spec Dependencies: Test: fn:boolean(fn:string(xs:dateTime("1962-03-12T10:12:34Z") - xs:yearMonthDuration("P10Y01M"))) |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-6[+]
X op-subtract-yearMonthDuration-from-dateTime-6: Created on: 2005-07-05 Spec Dependencies: Test: fn:number(xs:dateTime("1988-01-28T13:45:23Z") - xs:yearMonthDuration("P09Y02M")) |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-7[+]
X op-subtract-yearMonthDuration-from-dateTime-7: Created on: 2005-07-05 Spec Dependencies: Test: fn:string(xs:dateTime("1989-07-05T14:34:36Z") - xs:yearMonthDuration("P08Y04M")) |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-8[+]
X op-subtract-yearMonthDuration-from-dateTime-8: Created on: 2005-07-05 Spec Dependencies: Test: (xs:dateTime("0001-01-01T01:01:01Z") - xs:yearMonthDuration("-P20Y07M")) |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-9[+]
X op-subtract-yearMonthDuration-from-dateTime-9: Created on: 2005-07-05 Spec Dependencies: Test: fn:string((xs:dateTime("1993-12-09T10:10:10Z") - xs:yearMonthDuration("P03Y03M"))) and fn:string((xs:dateTime("1993-12-09T10:10:10Z") - xs:yearMonthDuration("P03Y03M"))) |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-10[+]
X op-subtract-yearMonthDuration-from-dateTime-10: Created on: 2005-07-05 Spec Dependencies: Test: fn:string((xs:dateTime("1985-07-05T09:09:09Z") - xs:yearMonthDuration("P02Y02M"))) or fn:string((xs:dateTime("1985-07-05T09:09:09Z") - xs:yearMonthDuration("P02Y02M"))) |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-12[+]
X op-subtract-yearMonthDuration-from-dateTime-12: Created on: 2005-07-05 Spec Dependencies: Test: fn:string((xs:dateTime("1980-03-02T02:02:02Z") - xs:yearMonthDuration("P05Y05M"))) and (fn:true()) |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-13[+]
X op-subtract-yearMonthDuration-from-dateTime-13: Created on: 2005-07-05 Spec Dependencies: Test: (xs:dateTime("1980-05-05T05:05:05Z") - xs:yearMonthDuration("P23Y11M")) eq xs:dateTime("1980-05-05T05:05:05Z") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-14[+]
X op-subtract-yearMonthDuration-from-dateTime-14: Created on: 2005-07-05 Spec Dependencies: Test: (xs:dateTime("1979-12-12T09:09:09Z") - xs:yearMonthDuration("P08Y08M")) ne xs:dateTime("1979-12-12T09:09:09Z") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-15[+]
X op-subtract-yearMonthDuration-from-dateTime-15: Created on: 2005-07-05 Spec Dependencies: Test: (xs:dateTime("1978-12-12T07:07:07Z") - xs:yearMonthDuration("P17Y12M")) le xs:dateTime("1978-12-12T07:07:07Z") |
pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-dateTime-16[+]
X op-subtract-yearMonthDuration-from-dateTime-16: Created on: 2005-07-05 Spec Dependencies: Test: (xs:dateTime("1977-12-12T03:03:03Z") - xs:yearMonthDuration("P18Y02M")) ge xs:dateTime("1977-12-12T03:03:03Z") |
pass | pass | pass | pass | pass | pass | |
K-DateTimeSubtractYMD-1[+]
X K-DateTimeSubtractYMD-1: Created on: 2007-11-26+01:00 Spec Dependencies: Test: xs:dateTime("1999-07-19T08:23:01.765") - xs:yearMonthDuration("P3Y35M") eq xs:dateTime("1993-08-19T08:23:01.765") |
pass | pass | pass | pass | pass | pass | |
cbcl-subtract-yearMonthDuration-from-dateTime-001[+]
X cbcl-subtract-yearMonthDuration-from-dateTime-001: Created on: 2008-05-16 Spec Dependencies: spec = XQ10+ Test: 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:dateTime($year as xs:integer, $month as xs:integer, $day as xs:integer, $hour as xs:integer, $mins as xs:integer) { let $m := local:two-digit($month), $d := local:two-digit($day), $h := local:two-digit($hour), $n := local:two-digit($mins) return xs:dateTime(concat($year, '-', $m, '-', $d, 'T', $h, ':', $n, ':00')) }; local:dateTime(2008, 05, 12, 12, 59) - xs:yearMonthDuration("P0Y") |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-subtract-yearMonthDuration-from-dateTime-002[+]
X cbcl-subtract-yearMonthDuration-from-dateTime-002: Created on: 2008-05-16 Spec Dependencies: spec = XQ10+ Test: 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:dateTime($year as xs:integer, $month as xs:integer, $day as xs:integer, $hour as xs:integer, $mins as xs:integer) { let $m := local:two-digit($month), $d := local:two-digit($day), $h := local:two-digit($hour), $n := local:two-digit($mins) return xs:dateTime(concat($year, '-', $m, '-', $d, 'T', $h, ':', $n, ':00')) }; local:dateTime(-25252734927766554, 05, 12, 12, 59) + xs:yearMonthDuration("-P3214267297Y") |
pass | n/a
notXP31 |
pass | n/a | pass | pass |