1Z0-830 Java 21 Core Types, Zones, Manipulation and DST Guide
April 13, 2026
Study 1Z0-830 Java 21 Core Types, Zones, Manipulation and DST: key concepts, common traps, and exam decision cues.
On this page
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