Java 8的LocalDateTime有一个ofEpochSecond方法。不幸的是,在ZonedDateTime中没有这样的方法。现在,我有一个Epoch值和一个明确的ZoneId。我如何从中获取一个ZonedDateTime?
LocalDateTime
ofEpochSecond
ZonedDateTime
ZoneId
用户名或邮箱地址
密码