public SearchParameters before(final SingularAttribute<?, Date> field, final Date setToto) {
   RangeDate<?> rangeDate = rangeDate(field);
   rangeDate.setTo(setToto);
   addRange(rangeDate);
   return this;
 }
 public SearchParameters after(final SingularAttribute<?, Date> field, final Date from) {
   RangeDate<?> rangeDate = rangeDate(field);
   rangeDate.setFrom(from);
   addRange(rangeDate);
   return this;
 }