摘要: 下面这些方法都可以封装到一个工具类中 /** * 获取当前时间的时间戳 */ public static int getCurrentTimeIntValue() { return (int) (System.currentTimeMillis() / 1000); } /** * 获取days天后 阅读全文
posted @ 2021-05-10 22:51 云村的王子 阅读(1094) 评论(0) 推荐(0) 编辑
摘要: 举个栗子,看图: 阅读全文
posted @ 2021-05-10 22:19 云村的王子 阅读(440) 评论(0) 推荐(0) 编辑