The easiest solution is this:
Date date = null;
SimpleDateFormat isoFormatWithMillis = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
try {
date = isoFormatWithMillis.parse("2010-09-18T10:00:00.000+01:00");
} catch (ParseException e) {
e.printStackTrace();
}
System.out.println(date);
This will print Sat Sep 18 11:00:00 CEST 2010
.