O'Reilly logo

A Programmer’s Guide to Java® SE 8 Oracle Certified Associate (OCA) by Rolf W Rasmussen, Khalid A Mughal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11. Date and Time

Image

11.1 Basic Date and Time Concepts

Java 8 introduced a new comprehensive API for handling temporal concepts. In this chapter, we primarily concentrate on classes that represent the date, time, and period. The Java 8 API also provides support for formatting and parsing temporal objects. These classes are all based on the ISO calendar system, which is the de facto world calendar. The Date and Time API is fairly comprehensive, and includes support for other temporal concepts such as instants, durations, offsets, time zones, and different calendars—topics that are beyond the scope of this book.

We will use the term temporal objects ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required