2024年5月14日

ZonedDateTime 转为 java.util.Date

摘要: public static void main(String[] args) { // 1、使用ZoneId定义美国时区 ZoneId zoneId = ZoneId.of("America/New_York"); // 2、获取当前时间 ZonedDateTime now = ZonedDateT 阅读全文

posted @ 2024-05-14 09:57 陈惟鲜的博客 阅读(316) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示