1,日期格式化SimpleDateFormat dataFormat = new SimpleDateFormat("yyyy-MM-dd");dataFormat.parse(“2016-08-20”);