April 2018
Intermediate to advanced
910 pages
33h 21m
English
Prior to Java 8, two primary date-related classes were Date and Calendar (and, of course, GregorianCalendar). The new java.time package offers several new classes, such as Duration, Period, Clock, Instant, LocalDate, LocalTime, LocalDateTime, and ZonedDateTime. There is a plethora of supporting classes, but these are the primary starting points. Let's take a quick look at each.