~/talk

Make a Date with Java

Talkat Developers Summit 2021 · 2021-02-18..02-19· [java]
links:none on file
slides:none on file

Shows why java.util.Date and Calendar produce surprising results (zero‑based months, 1900‑based years, implicit time and zone, millisecond granularity, not thread safe) and why migration to Java 8+ matters; demonstrates Joda‑Time history and Java 8 (2014) adoption; introduces concrete types and behaviors: Instant (nanosecond precision) for machine timestamps, LocalDate (ISO 8601, no time or zone) for dates, Duration vs Period for machine vs human intervals; explains injectable Clock, Chronology, parsing/formatting, temporal adjusters, and advises never to use java.util/java.sql Date in new code.

AI-written summary · about

  1. 0:00Introduction to Java date APIs
  2. 2:29Problems with old Date class
  3. 8:29Introduction to Java 8 Date API
  4. 13:12Key time and date concepts
  5. 20:01Machine vs human time views
  6. 23:54Java Date API design principles
  7. 24:15Instant and partial classes
  8. 26:47Duration and period differences
  9. 28:58Time zones and clocks
  10. 30:44Chronologies and calendar systems
  11. 33:56Core classes in Java Date API
  12. 36:27Consistent operations in API
  13. 39:18Old vs new API conversion
  14. 41:10Formatting and parsing dates
  15. 43:58Temporal adjusters and queries
  16. 47:13Avoiding old date APIs
  17. 48:39Q&A and resources
~/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.