Some GPX traces have more than one point per second, and have sub-second accuracy. (AFAIR) this is allowed in ISO datetimes, but the DATE_FORMAT/DATE_FORMAT_Z doesn't match subseconds, and you get this error when trying to match such a GPX file:
Exception in thread "main" java.lang.IllegalStateException: java.text.ParseException: Unparseable date: "2012-11-08T14:19:37.500Z"
Some GPX traces have more than one point per second, and have sub-second accuracy. (AFAIR) this is allowed in ISO datetimes, but the
DATE_FORMAT
/DATE_FORMAT_Z
doesn't match subseconds, and you get this error when trying to match such a GPX file: