2016年5月17日

java获取昨天的日期

摘要: Calendar cal = Calendar.getInstance(); cal.add(Calendar.DATE, -1); String yesterday = new SimpleDateFormat( "yyyy-MM-dd ").format(cal.getTime()); Syst 阅读全文

posted @ 2016-05-17 15:51 赵磊磊 阅读(315) 评论(0) 推荐(0) 编辑

导航