Implemented between interval predicate.