📜  迄今为止的 offsetdattime - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:29.438000             🧑  作者: Mango

代码示例1
long epochMilli = zonedDateTime.toInstant().toEpochMilli();
Date date = new Date(epochMilli);