Why does LocalDateTime.ofInstant() requires ZoneId

Subscribers:
4,120
Published on ● Video Link: https://www.youtube.com/watch?v=aLDl-YAQT3A



Duration: 4:06
1 views
0


Why does LocalDateTime.ofInstant() requires ZoneId
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/11019740/mike)Mike |
(stackoverflow.com/users/22656/jon-skeet)Jon Skeet |
(stackoverflow.com/users/466862/mark-rotteveel)Mark Rotteveel |
(stackoverflow.com/users/19835740/daxelarne)Daxelarne |
(stackoverflow.com/users/1712135/dehaar)deHaar |
A special thanks goes out to the (https://stackoverflow.com/questions/75243843/why-does-localdatetime-ofinstant-requires-zoneid)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

localdatetime java-time java.time.instant java datetime







Tags:
localdatetime
java-time
java.time.instant
java
datetime