New Date and Time API in Java8
At some point during your day-to-day coding experience with Java you might have realised that the existing Java date and time classes are poor, mutable, and have unpredictable performance. There has been a long-standing desire for a better date and time API based on the Joda-Time project. The good news is that the new API that got delivered with JDK8 milestone M6 has a more intuitive design allowing code to better express its intent. The classes are immutable which aligns with the multi-core direction of the industry.