谁能告诉我为什么我得到了这个例外?
08-28 08:47:05.246: D/DateParser(4238): 收到解析的字符串是 2013-08-05T12:13:49.000Z
private final static String DATE_FORMAT_PATTERN = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
public static Date parseDate(String stringToParse) {
Date date = null;
try {
date = new SimpleDateFormat(DATE_FORMAT_PATTERN).parse(stringToParse);
} catch (ParseException e) {
Logger.logError(TAG, e);
}
return null;
}
08-28 08:47:05.246: E/DateParser(4238): Exception: java.text.ParseException: Unparseable date: "2013-08-05T12:13:49.000Z" (at offset 23)