You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Andy Seaborne <an...@apache.org> on 2012/05/10 14:35:13 UTC
Arithmetic Operators on Durations, Dates and Times with jena
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
Re: Arithmetic Operators on Durations, Dates and Times with jena
Posted by Francesco Panico <fp...@imolinfo.it>.
Thank you for your replay.
I'll test it.
Regards
Francesco
2012/5/10 Andy Seaborne <an...@apache.org>
> 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
>