2018年11月15日

时间戳获取 天/月/日等until

摘要: /** * 时间戳 获取第n天(负数则是前几天,正数则是往后) */ public Long getday(int a){ SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd"); Date date=new Date(); Calendar calendar = ... 阅读全文

posted @ 2018-11-15 15:08 才小有 阅读(2699) 评论(0) 推荐(0) 编辑

导航