Lesson 33Manipulating Dates and Times

The Java Date-Time API is a big API with a large number of features. In this lesson we will introduce the Date-Time API and show what is needed to get started.

The version of the Date-Time API that we cover in this lesson was introduced in Java 8 and addresses many shortcomings of what was available prior to that version for the date-time classes. The problems with the previous API led to the rise of several third-party Date-Time API implementations. The newer Java API incorporates features of these third-party APIs.

ISO CALENDAR

The Java Date-Time API uses standard 8601 from the International Organization for Standardization (ISO 8601) for representing dates and times. ISO 8601 is meant to normalize the differences in date/time formats across the globe and is based on the ...

Get Job Ready Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.