code: public static Date parseCompressedISO8601Date(String dateString) {
          try {
              return new Date(compressedIso8601DateFormat.parseMillis(dateString));
          } catch (RuntimeException ex) {
              throw handleException(ex);
          }
     }
docs: Parses the specified date string as a compressedIso8601DateFormat ("yyyyMMdd'T'HHmmss'Z'") and returns the Date
  object.
  
  @param dateString
  The date string to parse.
  
  @return The parsed Date object.