© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
M. IndenJava Challengeshttps://doi.org/10.1007/978-1-4842-7395-1_6

6. Date Processing

Michael Inden1  
(1)
Zurich, Switzerland
 

With Java 8, the JDK was extended with some functionality for date processing. First, the rather unintuitive machine time exists, which proceeds linearly and is represented by the class java.time.Instant. However, various classes are better suited to human ways of thinking. For example, the classes LocalDate, LocalTime, and LocalDateTime from the package java.time represent date values without time zones in the form of a date, a time, and a combination thereof.

6.1 Introduction

In the following, I will describe some enumerations, classes, ...

Get Java Challenges: 100+ Proven Tasks that Will Prepare You for Anything 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.