March 2024
Intermediate to advanced
798 pages
18h 48m
English
This chapter includes 20 problems covering different date-time topics. These problems are mainly focused on the Calendar API and on the JDK Date/Time API. About the latter, we will cover some less popular APIs such as ChronoUnit, ChronoField, IsoFields, TemporalAdjusters, and so on.
At the end of this chapter, you’ll have a ton of tips and tricks in your tool belt that will be very useful for solving a wide range of real-world date-time problems.
Use the following problems to test your programming prowess on date and time. I strongly encourage you to give each problem a try before you turn to the solutions and download the example programs: