CHAPTER 8

image

Using the Java SE 8 Date/Time API

Certification Objectives

Create and manage date-based and time-based events including a combination of date and time into a single object using LocalDate, LocalTime, LocalDateTime, Instant, Period, and Duration

Work with dates and times across timezones and manage changes resulting from daylight savings including format date and times values

Define and create and manage date-based and time-based events using Instant, Period, Duration, and TemporalUnit

The new Java date and time API is provided in the java.time package. This new API in Java 8 replaces the older classes supporting date- and time-related ...

Get Oracle Certified Professional Java SE 8 Programmer Exam 1Z0-809: A Comprehensive OCPJP 8 Certification Guide 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.