GitHub user afs opened a pull request:
https://github.com/apache/jena/pull/121
JENA-149: Duration equality by value.
This PR provides canonicalization of the date/time duration in comparison,
equality and hashcode operations based on year-month and day-time parts. (e.g.
if it is 110seconds, it become 1minute 50seconds).
Only year-month and day-time durations are fully comparable but
applications may, indeed probably do, use the xsd:duration datatype, not the
appropriate subtype.
This does not affect SPARQL.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afs/jena jena149-duration-value
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/121.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #121
----
commit 1694e7fb34ac325a0f1b5308a4772624e8100cb2
Author: Andy Seaborne <[email protected]>
Date: 2016-01-11T09:03:59Z
JENA-149: Duration equality by value.
Canonicalise the date/time duration based on year-month and day-time.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---