code: public static Predicate between(String attribute, Comparable from, Comparable to) {
          return new BetweenPredicate(attribute, from, to);
      }
docs: Creates a <b>between</b> predicate that will pass items if the value stored under the given item {@code attribute}
  is contained inside the given range. The range begins at the given {@code from} bound and ends at
  the given {@code to} bound. The bounds are <b>inclusive</b>.
  <p>
  See also <i>Special Attributes</i>, <i>Attribute Paths</i>, <i>Handling of {@code null}</i> and
  <i>Implicit Type Conversion</i> sections of {@link Predicates}.
  
  @param attribute the attribute to fetch the value to check from.
  @param from      the inclusive lower bound of the range to check.
  @param to        the inclusive upper bound of the range to check.
  @return the created <b>between</b> predicate.
  @throws IllegalArgumentException if the {@code attribute} does not exist.