|
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-add-dayTimeDuration-to-date | 25/25 | 25/25 | 22/22 | 25/25 | 22/22 | 25/25 | 25/25 | 22/22 | 25/25 | 25/25 | 22/22 | 25/25 | 25/25 | 25/25 | 25/25 | 3/15 |
op-add-dayTimeDuration-to-date2args-1[+]
X op-add-dayTimeDuration-to-date2args-1: xs:date("1970-01-01Z") + xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date2args-2[+]
X op-add-dayTimeDuration-to-date2args-2: xs:date("1983-11-17Z") + xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date2args-3[+]
X op-add-dayTimeDuration-to-date2args-3: xs:date("2030-12-31Z") + xs:dayTimeDuration("P0DT0H0M0S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date2args-4[+]
X op-add-dayTimeDuration-to-date2args-4: xs:date("1970-01-01Z") + xs:dayTimeDuration("P15DT11H59M59S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date2args-5[+]
X op-add-dayTimeDuration-to-date2args-5: xs:date("1970-01-01Z") + xs:dayTimeDuration("P31DT23H59M59S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-1[+]
X op-add-dayTimeDuration-to-date-1: xs:date("2004-10-30Z") + xs:dayTimeDuration("P2DT2H30M0S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-datealt-2[+]
X op-add-dayTimeDuration-to-datealt-2: fn:string((xs:date("2000-12-12Z") + xs:dayTimeDuration("P19DT13H10M"))) and fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-3[+]
X op-add-dayTimeDuration-to-date-3: fn:string((xs:date("1999-10-23Z") + xs:dayTimeDuration("P19DT13H10M"))) or fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-4[+]
X op-add-dayTimeDuration-to-date-4: fn:not(fn:string(xs:date("1998-09-12Z") + xs:dayTimeDuration("P02DT07H01M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-5[+]
X op-add-dayTimeDuration-to-date-5: fn:boolean(fn:string(xs:date("1962-03-12Z") + xs:dayTimeDuration("P03DT08H06M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-6[+]
X op-add-dayTimeDuration-to-date-6: fn:number(xs:date("1988-01-28Z") + xs:dayTimeDuration("P10DT08H01M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-7[+]
X op-add-dayTimeDuration-to-date-7: fn:string(xs:date("1989-07-05Z") + xs:dayTimeDuration("P01DT09H02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-8[+]
X op-add-dayTimeDuration-to-date-8: (xs:date("0001-01-01Z") + xs:dayTimeDuration("-P11DT02H02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-9[+]
X op-add-dayTimeDuration-to-date-9: 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 | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-10[+]
X op-add-dayTimeDuration-to-date-10: 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 | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-12[+]
X op-add-dayTimeDuration-to-date-12: fn:string((xs:date("1980-03-02Z") + xs:dayTimeDuration("P05DT08H11M"))) and (fn:true()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-13[+]
X op-add-dayTimeDuration-to-date-13: (xs:date("1980-05-05Z") + xs:dayTimeDuration("P23DT11H11M")) eq xs:date("1980-05-05Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-14[+]
X op-add-dayTimeDuration-to-date-14: (xs:date("1979-12-12Z") + xs:dayTimeDuration("P08DT08H05M")) ne xs:date("1979-12-12Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-15[+]
X op-add-dayTimeDuration-to-date-15: (xs:date("1978-12-12Z") + xs:dayTimeDuration("P17DT10H02M")) le xs:date("1978-12-12Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-add-dayTimeDuration-to-date-16[+]
X op-add-dayTimeDuration-to-date-16: (xs:date("1977-12-12Z") + xs:dayTimeDuration("P18DT02H02M")) ge xs:date("1977-12-12Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DateAddDTD-1[+]
X K-DateAddDTD-1: xs:date("1999-08-12") + xs:dayTimeDuration("P23DT09H32M59S") eq xs:date("1999-09-04") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DateAddDTD-2[+]
X K-DateAddDTD-2: xs:dayTimeDuration("P23DT09H32M59S") + xs:date("1999-08-12") eq xs:date("1999-09-04") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-add-dayTimeDuration-to-date-001[+]
X cbcl-add-dayTimeDuration-to-date-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: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 | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-add-dayTimeDuration-to-date-002[+]
X cbcl-add-dayTimeDuration-to-date-002: 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 | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-add-dayTimeDuration-to-date-003[+]
X cbcl-add-dayTimeDuration-to-date-003: 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 | wrongError
expected: FODT0001 actualCode: FOCA0002 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |