public void setRangeSearchValueInternal(String minDate, String maxDate, String format) { SimpleDateFormat dateFormat = new SimpleDateFormat(format); try { searchDateField.setSearchValue(toXmlCalendar(dateFormat.parse(minDate))); searchDateField.setSearchValue2(toXmlCalendar(dateFormat.parse(maxDate))); } catch (ParseException e) { throw soften(e); } }
public void setDateSearchValueInternal(String date, String format) { try { searchDateField.setSearchValue(toXmlCalendar(new SimpleDateFormat(format).parse(date))); } catch (ParseException e) { throw soften(e); } }
public void setPredefinedSearchValue(String predefinedSearchValue) { searchDateField.setPredefinedSearchValue(SearchDate.fromValue(predefinedSearchValue)); }
public void setOperation(String opertion) { searchDateField.setOperator(SearchDateFieldOperator.fromValue(opertion)); }