Date comparison in Java using LocalDate
The goal of this post
I am writing this post to clarify date comparisons in Java so that I don't have to look things up again.
TLDR
Use ChronoUnit or Period for getting the number of units(year, month, day) between 2 dates. Use ChronoUnit to get the...
genakag.hashnode.dev2 min read