Add timerange writer interface

Is it possible to use both BETWEEN and OR in the same query?