Clear datepicker javafx

date.getEditor().clear();
Menahil Nadeem