code: public void setTimeRange(String fieldName, Date startTime, Date endTime) {
  		this.where += " and " + fieldName + ">=? and " + fieldName + "<=?";
  		this.getParam().setDate(startTime);
  		this.getParam().setDate(endTime);
  	}
docs: 设置Date类型参数的开始、结束时间.
  
  @param fieldName
  @param startTime
  @param endTime