/** * Sets a list of constraints separated by comma. * Example: "between 20071012 and 20071223", "before 20080103". * @param constr a list of constraints separated by comma. */ public void setConstraint(String constr) { if (constr != null) { setConstraint(new SimpleDateConstraint(constr)); } }