日期工具SimpleDateFormat new SimpleDateFormat(格式) 格式:yyyy-MM-dd HH:mm:ss MM/dd/yyyy… format(Date):把Date格式化成字符串 parse(String):把String解析成Date