docs: public Date toDate(String dateString) {
          Date date = null;
          DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
          try {
              date = df.parse(dateString);
          } catch (ParseException ex) {
              System.out.println(ex.fillInStackTrace());
          }
          return date;
      }