Created
July 20, 2015 10:16
-
-
Save Budincsevity/e1e1deca2da3b4dca3ac to your computer and use it in GitHub Desktop.
Convert Date to LocalDate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date input = new Date(); | |
LocalDate date = input.toInstant().atZone(ZoneId.systemDefault()).toLocalDate(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment