Skip to content

Instantly share code, notes, and snippets.

@dmcassel
Created October 22, 2015 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmcassel/1871a8588fe71f57c361 to your computer and use it in GitHub Desktop.
Save dmcassel/1871a8588fe71f57c361 to your computer and use it in GitHub Desktop.
cts:search(fn:doc(), cts:and-query((
cts:period-range-query(
"valid",
"ALN_CONTAINED_BY",
cts:period(xs:dateTime("2015-01-09T00:00:00"),
xs:dateTime("2015-01-11T23:59:59.99Z"))),
cts:period-range-query(
"system",
"ALN_CONTAINED_BY",
cts:period(xs:dateTime("2015-01-13T13:00:00"),
xs:dateTime("2015-01-14T23:59:59.99Z"))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment