I am following \"The Art and Science of Java\" book and it shows how to calculate a leap year. The book uses ACM Java Task Force\'s library.
Here is the code the boo
java.time.Year::isLeap
I'd like to add the new java.time way of doing this with the Year class and isLeap method:
java.time.Year.of(year).isLeap();