您应该可以通过
Instant该类来执行此操作,该类可以代表给定时间的时刻。如果您有新纪元,您可以通过类似
Instant i = Instant.ofEpochSecond(t);ZonedDateTime z = ZonedDateTime.ofInstant(i, zoneId);

您应该可以通过
Instant该类来执行此操作,该类可以代表给定时间的时刻。如果您有新纪元,您可以通过类似
Instant i = Instant.ofEpochSecond(t);ZonedDateTime z = ZonedDateTime.ofInstant(i, zoneId);