Essentials of Java’s Time API

How JSR310 changed the way we handle date and time

Ben Weidig
Better Programming
Published in
10 min readJan 7, 2021

--

hourglass with sand running
Clear Glass with Red Sand — Nile (Pixabay)

Dealing with date and time is a cumbersome task in many programming languages. But with Java 8, the JDK provides us with a comprehensive and completely new API, changing how we deal with time-related concepts.

Even though JSR310 was introduced with Java 8, the code example will use a Java 10 feature…

--

--

Software developer, entrepreneur, blogger. Mostly Java, sometimes Swift, Golang, Bash and all the other fun stuff.