[ https://issues.apache.org/jira/browse/RYA-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193579#comment-16193579 ]
ASF GitHub Bot commented on RYA-392: ------------------------------------ Github user jdasch commented on a diff in the pull request: https://github.com/apache/incubator-rya/pull/237#discussion_r143046217 --- Diff: common/rya.api/pom.xml --- @@ -95,5 +95,20 @@ under the License. <scope>test</scope> </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <!-- Trivial listing of classes to be loaded via + SPI --> + <exclude>src/main/resources/META-INF/services/org.openrdf.query.algebra.evaluation.function.Function</exclude> --- End diff -- Remove this. Add the license to the service loader. # is the comment character http://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html > Temporal Difference Function > ---------------------------- > > Key: RYA-392 > URL: https://issues.apache.org/jira/browse/RYA-392 > Project: Rya > Issue Type: New Feature > Affects Versions: 3.2.11 > Reporter: Caleb Meier > Assignee: Caleb Meier > > Currently Rya does not provide a Function that determines whether two > temporal literals are within a given period of time of one another. This is > extremely useful for filtering on query results that occurred within a fixed > period of time of a given instant. Currently, if one attempts to form the > following filter Filter(?time1 - ?time2 < "24"^^xsd:hour), an exception will > be thrown if ?time1 and ?time2 are date time literals. I propose > implementing a Function that takes in two temporal literals, an integer and a > time unit and determines whether the date times are within the prescribed > period of one another. -- This message was sent by Atlassian JIRA (v6.4.14#64029)