2016年12月7日
摘要: SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar c = Calendar.getInstance(); //过去七天 c.setTime(new Date()); c.add(Calendar.DATE, - 7); Date d = c.getTime()... 阅读全文
posted @ 2016-12-07 12:58 布诺 阅读(154999) 评论(2) 推荐(10)