Working with Date and Time
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.