Browse Oracle Certification Guides

1Z0-830 Java 21 Core Types, Zones, Manipulation and DST Guide

Study 1Z0-830 Java 21 Core Types, Zones, Manipulation and DST: key concepts, common traps, and exam decision cues.

Date/time questions usually reward the candidate who chooses the correct type family first. If the type model is wrong, every later reasoning step gets worse.

Time-type chooser

Requirement Better first instinct
date only LocalDate
time only LocalTime
timestamp with universal instant semantics Instant
user-facing date-time in a specific zone ZonedDateTime
date-based interval Period
time-based interval Duration

What the exam is really testing

If the stem says… Strong reading
“change the value” the API is immutable, so methods return new instances
“user time zone” local and zoned types are not interchangeable
“DST boundary” zone rules matter more than naive arithmetic
“formatting” pattern and locale behavior may change the output

Common traps

Trap Better rule
using LocalDateTime when the zone is part of the requirement include zone information explicitly
mixing Period and Duration as if they were interchangeable one is date-based, one is time-based
assuming plus/minus mutates the original object java.time classes are immutable

Quiz

Loading quiz…
Revised on Sunday, May 10, 2026