摘要:
"0x" + Integer.toHexString(hex); 阅读全文
摘要:
//循环执行任务,第一次延迟3秒执行,第二次开始每间隔5秒执行一次。最后一个参数是单位(时间) ScheduledExecutorService service = new ScheduledThreadPoolExecutor(Runtime.getRuntime().availableProce 阅读全文
摘要:
TIMSTAMPDIFF MySQL函数用于计算两个日期字段的差值,TIMESTAMPDIFF(unit,datetime_expr1,datetime_expr2),返回日期或时间表达式 datetime_expr1 和 datetime_expr2 之间的整数差。其结果的单位由 unit 参数给 阅读全文
摘要:
/** * 对返回结果指定编码格式 * new String(response.body().bytes(), "GB2312"); */ 1、修改前 Response response = client.newCall(request).execute(); return response.bod 阅读全文
摘要:
一、下载JDK安装包 Oracle官网(登录Oracle账号) https://www.oracle.com/cn/java/technologies/javase-downloads.html 度娘网盘(ud5i) https://pan.baidu.com/s/17HB2dVtpz046T8fp 阅读全文