Using java.time.ZonedDateTime instead of old-fashioned java.util.Date.