Expanded Library

Programming with Dates and Times in Java

by Maurice Naftalin

Programming with dates and times is essential to most applications. This course will teach you how to use the java.time library, introduced in Java 8, for handling dates, times, time periods, time zones, and daylight saving time transitions.

What you'll learn

Handling dates and times is an essential part of most business and scientific applications. In this course, Programming with Dates and Times in Java, you will learn all about the much-needed new library in Java 8: the java.time API. First, you will learn the basic use of the core java.time classes. Next, you will discover how the library handles the complexities of time zones and daylight saving time transitions. Finally, you will explore the interconversion of java.time classes with other Java types and with database representations. When you are finished with this course, you will have a thorough knowledge of how to use this modern Java library for the fundamentally important problems of handling dates and times in your applications.

About the author

Maurice Naftalin is a Java Champion, author or co-author of two books on Java, and a three-times JavaOne Rockstar. He works as a developer and consultant, and over the last twenty years has trained thousands of students in intermediate and advanced Java topics.

Ready to upskill? Get started