摘要: java 知识点 1、包装类自带有parse方法 Integer i = 315; int i1 = Integer.parseInt("315"); System.out.println(i==i1); Long l1 = 4567L; long l2 = Long.parseLong("4567 阅读全文
posted @ 2023-02-13 19:51 his365 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 时间类 Date类 ZonedDateTime: 带时区的时间 ZoneId: 带时区 Instant: 时间戳 日期格式化类 SimpleDateFormat DateTimeFormatter Date d1 = new Date(); System.out.println(d1); Simpl 阅读全文
posted @ 2023-02-13 19:22 his365 阅读(27) 评论(0) 推荐(0) 编辑