code: public Date createDate(String dateString) throws ParseException {
          Date result = null;     
          synchronized (cFormatter) {
              result = cFormatter.parse(dateString);
          }
          return result;
      }
docs: Create a {@link Date} instance from the given string using the default
  input format <code>yyyyMMdd</code>.
  
  @param dateString The string from which to create a date
  
  @return The {@link Date} instance representing date string
  
  @throws ParseException if the date string is improperly formatted