Class TimeRangeVisitor

Object
NullFilterVisitor
TimeRangeVisitor
All Implemented Interfaces:
ExpressionVisitor, FilterVisitor

public class TimeRangeVisitor extends NullFilterVisitor
Returns a DateRange if the filter is equivalent to a date range on the "datetime" property, null otherwise, meaning there is more filtering included.
The visitor is not thread safe, call reset in case you want to re-use and need to check the "exact" property.