My Thoughts, My Work, My Ideas

Siva Prasad Rao Janapati

Subscribe to Siva Prasad Rao Janapati: eMailAlertsEmail Alerts
Get Siva Prasad Rao Janapati: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Siva Prasad Rao Janapati

In this article we will discuss about Java 8 Date/Time API. The new Date/Time API was one of the long pending request from the Java developer community. As the existing Date related API is not developer friendly. With the older versions of Java we used third party date time libraries like Joda-Time. As part of Java 8, the implementation of  JSR 310 lead by Joda-Time author Stephen Colebourne along with Oracle provided Date and Time API. This will be available under java package java.time The main reasons behind the new Date and Time API are, Immutability Prior to Java 8, the date classes are mutable. When we are using it as part of multi-threaded environments, developers has to make sure the thread safety of date objects. The Java 8 Date and Time API provides all the immutable classes which are thread safe. Developers are free of concurrency issues. Domain Driven De... (more)