~/talk

The Pearls and Pitfalls of DateTime

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java, web-platform]
links:none on file
slides:none on file

Explains concrete failures: Java’s odd constructors like new Date(0) != new Date() and epoch defaults that encode sentinel values; formatting traps (lowercase m = minutes, lenient parsing silently shifts fields); a real interoperability bug where Java vs Python microsecond loss causes lossy round trips; timezone database drift across machines (multiple tzdb releases per year) that breaks logs from Antarctic stations; recommends persisting UTC timestamp plus offset and save UTC plus tzdb version so historical events remain reproducible for forensics.

AI-written summary · about

  1. 0:00Introduction and disclaimers
  2. 4:04Java date quirks
  3. 7:23Understanding epochs
  4. 10:05Date formatting pitfalls
  5. 16:17The reality of software
  6. 18:54Time zones in practice
  7. 22:43Time zone database dynamics
  8. 28:33Silver bullets and UTC
  9. 32:49Digital forensics applications
  10. 35:11Binary formats and closing
  11. 37:00Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.