Loading lesson…
Level 1 · Apprentice0 XP
Instant, LocalDate, ZonedDateTime and Duration, and the time-zone bugs they prevent.
Step 1 / 5
ProblemA booking app stores '2026-03-29 10:00' without a zone. After the daylight-saving change, half the users see their meetings an hour off.
← → step
Before this: Choosing the right collection
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Write a function that, given an order Instant and the customer's zone, returns the delivery date (two business days later, skipping weekends) as a LocalDate. Test it with a fixed Clock across a daylight-saving change.