The development version of ARQ now includes support for operations involving durations for operators "+" and "-", following the operations in "XQuery/Xpath functions and operations" (F&O).

Some of this uses the Java runtime support for XML datatypes, which is slightly more permissive than the F&O specification (e.g. you can add a any xsd:duration to xsd:time, not just xsd:dayTimeDuration - Java forgets about the meaningless parts).

Supported:
datetime, date, time   +   duration
    (also duration + datetime, date or time)
datetime, date, time   -   duration
dayTimeDuration * number - > dayTimeDuration

        Andy

Reply via email to