String Date Calendar之间的转换
1.Calendar 转化 StringCalendar calendat = Calendar.getInstance();SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");String dateStr = sdf.format(calendar.getTime()); 2.String 转化Calendar
转载
2014-05-30 17:29:05 ·
444 阅读 ·
0 评论