uiautomator如何设置打印时间戳

190 阅读1分钟

简单的两句话,获取pc端系统时间:

SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

System.out.println(df.format(new Date()));