异常--java.text.ParseException: Unparseable date
String d = "2015-05-19"
SimpleDateFormat sdf = new SimpleDateFormat( "yyyy/MM/dd HH:mm:ss" );
Date d = sdf.parse(ddd);
抛出Unparseable date
解决方法:
一:Date startReportDate = sdf.parse(startDate.toString());
二:Date start = (Date)sdf.parseObject(startDate);