Chapter 17Use Java SE 8 Date/Time API

THE OCP EXAM TOPICS COVERED IN THIS PRACTICE TEST INCLUDE THE FOLLOWING:

  • Use Java SE 8 Date/Time API
    • Create and manage date-based and time-based events including a combination of date and time into a single object using LocalDate, LocalTime, LocalDateTime, Instant, Period, and Duration
    • Work with dates and times across timezones and manage changes resulting from daylight savings including Format date and times values
    • Define and create and manage date-based and time-based events using Instant, Period, Duration, and TemporalUnit
  1. What package is the LocalTime class in?

    1. java.date
    2. java.lang
    3. java.time ...

Get OCA / OCP Java SE 8 Programmer Practice Tests now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.