Java
You're viewing a free preview. Sign in free to read every script.
Why this exists Time is in nearly every operations task: log timestamps, retention policies ("delete files older than 30 days"), certificate expiry, scheduled jobs, SLAs, outage durations. It is also where bugs hide,…
Java Basics: Dates, Times, Time Zones and Durations with java.time
Handle time correctly in tools and services: Instant versus LocalDate versus ZonedDateTime, time zones and daylight saving, retention cutoffs, outage durations, certificate-expiry maths, parsing and formatting, and a fixed Clock so time-based code is testable.
Sign in free to read this script, along with the rest of the library.
Sign in free