Programming with Dates and Times in Java 8

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.
Course info
Rating
(34)
Level
Intermediate
Updated
Jul 23, 2018
Duration
2h 12m
Table of contents
Description
Course info
Rating
(34)
Level
Intermediate
Updated
Jul 23, 2018
Duration
2h 12m
Description

Handling dates and times is an essential part of most business and scientific applications. In this course, Programming with Dates and Times in Java 8, 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
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.

Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Maurice Naftalin. Welcome to my course, Programming with Dates and Times in Java 8. I'm a freelance trainer and developer working with Java from its start. For most of that time, it's been tough to write Java programs using dates and times because there were many problems with the original library. Java 8 finally put that right with the high quality java. time API, which we'll study in detail in this course. Some of the topics that we'll cover include the major classes of the library representing dates and times, time zones, durations, and time periods, handling time zone and daylight saving time changes, parsing and formatting date/time values, and testing programs that use dates and times. By the end of this course, you'll understand the ideas that underly the design of the library and you'll be ready to use it for calculating durations, persisting date/time values in relational databases, communicating time-critical data across time zones, and many other applications. Before beginning the course, you should be familiar with the everyday use of Java, pre-Java 8, although the course uses some Java 8 syntax. That's explained as we go along. I hope you'll join me on this journey to learn date and time programming with this course, Programming with Dates and Times in Java 8 at Pluralsight.