String date = "2013-07-18 16:57:22.0";
DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH24:mm:SSSS.FF6");
Date dateTime=format.parse(date);
Calendar calendar = Calendar.getInstance(format.getTimeZone());
calendar.setTime(dateTime);
我收到错误
错误 500:java.text.ParseException:无法解析的日期:“2013-07-18 16:57:22.0”