摘要: 1.计算时间差,精确到秒 出参类型为long Duration.between(startTime,endTime) .toDays() //转为天 .toHours() //转为小时 .toMinutes() //转为分钟 .toMillis()//毫秒 2. 阅读全文
posted @ 2021-01-05 14:13 wangssd 阅读(1113) 评论(0) 推荐(0) 编辑