//2013-10-24T11:39:00.000+0800
DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
//2013-10-24T11:39:00.000+08:00
DateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
转载于:https://my.oschina.net/liangrockman/blog/170989