src/main/java/org/criteria4jpa/criterion/Restrictions.java
public static Criterion notBetween(String relativePath, Object lo, Object hi) {
    return new BetweenExpression(relativePath, lo, hi, true);
  }
public static Criterion notBetween(String relativePath, Object lo, Object hi) {
    return new BetweenExpression(relativePath, lo, hi, true);
  }
Adds a "not between" constraint to a <i>persistent field</i>.

@param relativePath relative path of the field
@param lo the low end of the "not between" expression
@param hi the high end of the "not between" expression
@return {@link Criterion} instance