code: public boolean select(String date, String format, Locale locale) {
          SimpleDateFormat inDateFormat = new SimpleDateFormat(format, locale);
          SimpleDateFormat outDateForm = new SimpleDateFormat("dd/MMM/yyyy", locale);
          try {
              Date fromDate = inDateFormat.parse(date);
              date = outDateForm.format(fromDate);
          } catch (ParseException e) {
              LOGGER.error("ParseException: {}", e);
          }
          String[] dates = date.split("/");
          return setDate(Integer.parseInt(dates[0]) + "", dates[1], dates[2]);
      }
docs: example new DatePicker().select("19/05/2013", "dd/MM/yyyy", Locale.ENGLISH)
  
  @param date   "19/05/2013"
  @param format "dd/MMM/yyyy"
  @param locale Locale.ENGLISH
  @return true if is selected date, false when DatePicker doesn't exist