© Kishori Sharan 2017

Kishori Sharan, Beginning Java 9 Fundamentals, https://doi.org/10.1007/978-1-4842-2902-6_16

16. Dates and Times

Kishori Sharan

(1)Montgomery, Alabama, USA

In this chapter, you will learn:

  • What the new Date-Time API is

  • About the design principles behind the Date-Time API

  • About the evolution of timekeeping, time zones, and Daylight Savings Time

  • About the ISO-8601 standard for date, time, and datetime keeping

  • How to represent date, time, and datetime using the Date-Time API classes and how to query, adjust, format, and parse them

  • How to use the legacy Date-Time API

  • How to interoperate between the legacy and new Date-Time APIs

The Date-Time API was introduced in Java 8 and has been enhanced in Java 9 with a lot of new methods in several ...

Get Beginning Java 9 Fundamentals: Arrays, Objects, Modules, JShell, and Regular Expressions 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.