case ISearchValueType.DATE:
case ISearchValueType.TIME:
case ISearchValueType.DATETIME: {
final Calendar cal = Calendar.getInstance();
final DateTime datetime = new DateTime(inputField, SWT.DATE | SWT.BORDER);
datetime.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event event) {
cal.set(Calendar.DATE, datetime.getDay());
cal.set(Calendar.MONTH, datetime.getMonth());
cal.set(Calendar.YEAR, datetime.getYear());