code: private void appendBetweenCriteria(TableAlias alias, PathInfo pathInfo, BetweenCriteria c, StringBuffer buf)
      {
          appendColName(alias, pathInfo, c.isTranslateAttribute(), buf);
          buf.append(c.getClause());
          appendParameter(c.getValue(), buf);
          buf.append(" AND ");
          appendParameter(c.getValue2(), buf);
      }
docs: Answer the SQL-Clause for a BetweenCriteria
  
  @param alias
  @param pathInfo
  @param c BetweenCriteria
  @param buf