code: public String convertDateToString(final Date date) {
          if (date == null) {
              return null;
          }
          return dateFormat.get().format(date);
      }
docs: Convert date to string.
  
  @param date the date
  @return the string