By Scott Hommel-Oracle on Mar 25, 2014
JDK 8 includes a new Date-Time API based on JSR 310. This API provides a comprehensive date-time model that enables you to represent dates and times and manipulate date and time values. It supports the International Organization for Standardization (ISO) calendar system as well as other commonly used global calendars. Classes in the
java.time package replace the
DateFormat classes in the
For information about the Date-Time API, see the following resources:
The Date-Time Trail of the Java Tutorial covers the classes based on the standard ISO calendar system, and includes information about migrating from the
java.utildate classes to the new
The API documentation for the Date-Time API describes the classes and methods that are available.
The screencast A New Date and Time API - JSR 310 by Stephen Colebourne provides an overview of the API, explaining the core concepts and classes, and enables you to dive straight in when it is time to code.
Java 8 Launch has screencasts that describe the feature.
See What's New in JDK 8 for information about other new features in JDK 8.