What is the difference between ZonedDateTime.withZoneSameInstant and ZonedDateTime.withZoneSameLocal?

后端 未结 0 758
后悔当初
后悔当初 2021-02-15 03:38

Let\'s say I have a ZonedDateTime:

ZonedDateTime zonedDateTime = 
     ZonedDateTime.of(LocalDateTime.now(), ZoneId.of(\"US/Pacific\"));

I woul

相关标签:
回答
  • 消灭零回复
提交回复
热议问题