|
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-add-dayTimeDuration-to-date | 25/27 | 22/22 | 27/27 | 22/22 | 27/27 | 27/22 | 0/6 |
op-add-dayTimeDuration-to-date2args-1[+]
X op-add-dayTimeDuration-to-date2args-1: Created on: 2004-12-13 Spec Dependencies: Test: xs:date("1970-01-01Z") + xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date2args-2[+]
X op-add-dayTimeDuration-to-date2args-2: Created on: 2004-12-13 Spec Dependencies: Test: xs:date("1983-11-17Z") + xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date2args-3[+]
X op-add-dayTimeDuration-to-date2args-3: Created on: 2004-12-13 Spec Dependencies: Test: xs:date("2030-12-31Z") + xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date2args-4[+]
X op-add-dayTimeDuration-to-date2args-4: Created on: 2004-12-13 Spec Dependencies: Test: xs:date("1970-01-01Z") + xs:dayTimeDuration("P15DT11H59M59S") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date2args-5[+]
X op-add-dayTimeDuration-to-date2args-5: Created on: 2004-12-13 Spec Dependencies: Test: xs:date("1970-01-01Z") + xs:dayTimeDuration("P31DT23H59M59S") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-1[+]
X op-add-dayTimeDuration-to-date-1: Created on: 2005-07-01 Spec Dependencies: Test: xs:date("2004-10-30Z") + xs:dayTimeDuration("P2DT2H30M0S") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-datealt-2[+]
X op-add-dayTimeDuration-to-datealt-2: Created on: 2005-07-01 Spec Dependencies: Test: fn:string((xs:date("2000-12-12Z") + xs:dayTimeDuration("P19DT13H10M"))) and fn:false() |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-3[+]
X op-add-dayTimeDuration-to-date-3: Created on: 2005-07-01 Spec Dependencies: Test: fn:string((xs:date("1999-10-23Z") + xs:dayTimeDuration("P19DT13H10M"))) or fn:false() |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-4[+]
X op-add-dayTimeDuration-to-date-4: Created on: 2005-07-01 Spec Dependencies: Test: fn:not(fn:string(xs:date("1998-09-12Z") + xs:dayTimeDuration("P02DT07H01M"))) |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-5[+]
X op-add-dayTimeDuration-to-date-5: Created on: 2005-07-01 Spec Dependencies: Test: fn:boolean(fn:string(xs:date("1962-03-12Z") + xs:dayTimeDuration("P03DT08H06M"))) |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-6[+]
X op-add-dayTimeDuration-to-date-6: Created on: 2005-07-01 Spec Dependencies: Test: fn:number(xs:date("1988-01-28Z") + xs:dayTimeDuration("P10DT08H01M")) |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-7[+]
X op-add-dayTimeDuration-to-date-7: Created on: 2005-07-01 Spec Dependencies: Test: fn:string(xs:date("1989-07-05Z") + xs:dayTimeDuration("P01DT09H02M")) |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-8[+]
X op-add-dayTimeDuration-to-date-8: Created on: 2005-07-01 Spec Dependencies: Test: (xs:date("0001-01-01Z") + xs:dayTimeDuration("-P11DT02H02M")) |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-9[+]
X op-add-dayTimeDuration-to-date-9: Created on: 2005-07-01 Spec Dependencies: Test: fn:string((xs:date("1993-12-09Z") + xs:dayTimeDuration("P03DT01H04M"))) and fn:string((xs:date("1993-12-09Z") + xs:dayTimeDuration("P01DT01H03M"))) |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-10[+]
X op-add-dayTimeDuration-to-date-10: Created on: 2005-07-01 Spec Dependencies: Test: fn:string((xs:date("1985-07-05Z") + xs:dayTimeDuration("P03DT01H04M"))) or fn:string((xs:date("1985-07-05Z") + xs:dayTimeDuration("P01DT01H03M"))) |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-12[+]
X op-add-dayTimeDuration-to-date-12: Created on: 2005-07-01 Spec Dependencies: Test: fn:string((xs:date("1980-03-02Z") + xs:dayTimeDuration("P05DT08H11M"))) and (fn:true()) |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-13[+]
X op-add-dayTimeDuration-to-date-13: Created on: 2005-07-01 Spec Dependencies: Test: (xs:date("1980-05-05Z") + xs:dayTimeDuration("P23DT11H11M")) eq xs:date("1980-05-05Z") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-14[+]
X op-add-dayTimeDuration-to-date-14: Created on: 2005-07-01 Spec Dependencies: Test: (xs:date("1979-12-12Z") + xs:dayTimeDuration("P08DT08H05M")) ne xs:date("1979-12-12Z") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-15[+]
X op-add-dayTimeDuration-to-date-15: Created on: 2005-07-01 Spec Dependencies: Test: (xs:date("1978-12-12Z") + xs:dayTimeDuration("P17DT10H02M")) le xs:date("1978-12-12Z") |
pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-16[+]
X op-add-dayTimeDuration-to-date-16: Created on: 2005-07-01 Spec Dependencies: Test: (xs:date("1977-12-12Z") + xs:dayTimeDuration("P18DT02H02M")) ge xs:date("1977-12-12Z") |
pass | pass | pass | pass | pass | pass | |
K-DateAddDTD-1[+]
X K-DateAddDTD-1: Created on: 2007-11-26+01:00 Spec Dependencies: Test: xs:date("1999-08-12") + xs:dayTimeDuration("P23DT09H32M59S") eq xs:date("1999-09-04") |
pass | pass | pass | pass | pass | pass | |
K-DateAddDTD-2[+]
X K-DateAddDTD-2: Created on: 2007-11-26+01:00 Spec Dependencies: Test: xs:dayTimeDuration("P23DT09H32M59S") + xs:date("1999-08-12") eq xs:date("1999-09-04") |
pass | pass | pass | pass | pass | pass | |
cbcl-add-dayTimeDuration-to-date-001[+]
X cbcl-add-dayTimeDuration-to-date-001: Created on: 2008-05-12 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:date($year as xs:integer, $month as xs:integer, $day as xs:integer) { let $m := local:two-digit($month), $d := local:two-digit($day) return xs:date(concat($year, '-', $m, '-', $d)) }; local:date(2008, 05, 12) + xs:dayTimeDuration("P0D") |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-add-dayTimeDuration-to-date-002[+]
X cbcl-add-dayTimeDuration-to-date-002: Created on: 2008-05-12 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:date($year as xs:integer, $month as xs:integer, $day as xs:integer) { let $m := local:two-digit($month), $d := local:two-digit($day) return xs:date(concat($year, '-', $m, '-', $d)) }; xs:dayTimeDuration("P0D") + local:date(2008, 05, 12) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-add-dayTimeDuration-to-date-003[+]
X cbcl-add-dayTimeDuration-to-date-003: Created on: 2008-05-12 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:date($year as xs:integer, $month as xs:integer, $day as xs:integer) { let $m := local:two-digit($month), $d := local:two-digit($day) return xs:date(concat($year, '-', $m, '-', $d)) }; local:date(25252734927766555, 05, 12) + xs:dayTimeDuration("P4267296D") |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
Add-UnionType-36[+]
X Add-UnionType-36: Created on: 2014-05-04 Spec Dependencies: spec = XQ30+ feature = schemaImport Test: import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; declare function local:f($a as s:dateOrDateTime) as s:dateOrDateTime { $a + xs:dayTimeDuration('P1D') }; local:f(xs:date('2001-01-01')) |
no result | n/a
notXP31 |
pass | n/a | pass | pass | |
Add-UnionType-37[+]
X Add-UnionType-37: Created on: 2014-05-04 Spec Dependencies: spec = XQ30+ feature = schemaImport Test: import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; declare function local:f($a as s:dateOrDateTime) as s:dateOrDateTime { xs:dayTimeDuration('P1D') + $a }; local:f(xs:dateTime('2001-01-01T13:00:00Z')) |
no result | n/a
notXP31 |
pass | n/a | pass | pass |