摘要: 1.把输入字符串时间转换为时间戳 val str="2020-06-01 14:21:42" val format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss") val timeStamp: Long = format.parse(str).getTim 阅读全文
posted @ 2020-06-02 16:39 小矮子的小胖子 阅读(1220) 评论(0) 推荐(0) 编辑