//Date转换成String DateFormat df = new SimpleDateFormat("yyyyMMddhhmmss"); String requestIds = String.valueOf(df.format(new Date())).concat(String.valueOf(new Random().nextInt()));
Java字符转换
最新推荐文章于 2021-02-23 19:54:39 发布
//Date转换成String DateFormat df = new SimpleDateFormat("yyyyMMddhhmmss"); String requestIds = String.valueOf(df.format(new Date())).concat(String.valueOf(new Random().nextInt()));