摘要: public class DateTest { public static void main(String[] args) { Date date = new Date(); // 新建一个日期 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); // 格式化日期 String beforeDate = sd... 阅读全文
posted @ 2018-09-14 16:54 Cxw丶cm 阅读(619) 评论(0) 推荐(0) 编辑