code: public PropertyConstraint inRangeProperties(String propertyName, String minPropertyName, String maxPropertyName) {
          Constraint min = gteProperty(propertyName, minPropertyName);
          Constraint max = lteProperty(propertyName, maxPropertyName);
          return new CompoundPropertyConstraint(new And(min, max));
      }
docs: Apply a inclusive "range" constraint between two other properties to a
  bean property.
  
  @param propertyName the property with the range constraint.
  @param minPropertyName the low edge of the range
  @param maxPropertyName the high edge of the range
  @return The range constraint constraint