阿里巴巴Java 开发编码规范 -获取时间戳

最近在开发过程当中使用插件检测出代码的一些问题; 在开发过程当中我习惯使用new Date()来获取当前时间。javascript //100天 private final Long DEFAULT_ACCESS_TIME = 1000 * 60 * 60 * 24 * 100L; //设置一个过时时间 Date expiration = new Date(new Date().getTim
相关文章
相关标签/搜索