/** * 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)); } }
/** * @param constr a list of constraints separated by comma. * Example: "between 20071012 and 20071223", "before 20080103" */ // -- super --// public void setConstraint(String constr) { SimpleDateConstraint sc = null; if (constr != null) { sc = new SimpleDateConstraint(constr); sc.setTimeZone(this.getTimeZone()); } setConstraint(sc); // Bug 2564298 }