Sun Java Solaris Communities My SDN Account Join SDN
 

JavaOne Online Technical Sessions

Pump Up Your Technical Knowledge
Listen and watch as industry luminaries bring you the latest on Java technologies
Active Tab2008
 
Begin Product Tab Sub Links Active Sub LinkJavaOne Technical Sessions JavaOne Hands-On Labs Tech Days Hands-On Labs

It's High Time: A New Date and Time API for the Java Platform
TS-6578


Presenter: Stephen Colebourne, SITA ATS Ltd; Michael Santos, Summa Technologies do Brasil


For years, developers have been facing problems with java.util.Date and java.util.Calendar. Zero-index-based months; performance and thread-safety issues; unpredictability; the difficulty of specifying and changing DST rules; and the lack of representations for other top-level concepts, such as non-time-zone dates or times, durations, periods, and intervals, are just some of the complaints of the community since the day the Java Platform, Standard Edition (Java SE platform) was released.

JSR 310, the Date and Time API, was submitted early in 2007 and has evolved a lot since its inception, with a published early draft and an upcoming public draft. Built on the lessons learned from the first two APIs, it provides a more advanced and comprehensive model for date and time manipulation and is being considered for inclusion in Java SE release 7.

This session examines this new API and its main concepts and features and shows code for handling common problems that are hard to solve with the existing classes. It also explains how code that uses the platform classes can be migrated and what impact this JSR will have on several other APIs. Besides that, it presents the current open issues and what solutions are being considered for them.

By the end of this session, attendees will understand the need for the new API, how to use it, and how it influences their current and future projects.

Watch The Session
You need to be a registered Sun Developer Network member to view this multimedia session. If you are a registered SDN member, please click on "Watch Multimedia" button to log-in to view the multimedia session. If you wish to join SDN, please click here.

 
 
FREE White Papers on Java SE, Java EE, cloud computing and database technologies.
New SDN Member Only Offers Every Month Discounts, FREE white papers and more!
Java University and JavaOne Training Sessions