code: public static Date getDateFromConciseStr(String str) {
  
          Date d = null;
          if (str == null || str.isEmpty())
              return null;
  
          try {
              SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSSZ");
  
              d = sdf.parse(str);
          } catch (Exception ex) {
              logger.error(ex + "Exception while converting string to date : "
                      + str);
          }
  
          return d;
      }
docs: 20130512 Converts the sdsm string generated above to Date format.
  
  @param str
  the str
  @return the date from concise str