code: private long getParsedDate(String encodedDate) {
  		try {
  			return dateFormat.parse(dateFormat.format(dateFormat.parseObject(encodedDate.replaceAll("Z$", "+0000")))).getTime();
  		}
  		catch (ParseException e) {
  			log(TAG, "Error parsing date " + encodedDate, Log.WARN);
  			e.printStackTrace();
  			return 0;
  		}
  	}
docs: Converts a date in the "EEE, d MMM yyyy HH:mm:ss Z" format to a long value.
  @param encodedDate The encoded date which to convert.
  @return A long value for the passed date String or 0 if improperly parsed.