~/talk

Java 8 Date&Time benefits

Talkat JavaDay Kiev 2014 · 2014-11-06..11-07· [java, web-platform]
slides:none on file

Demos show concrete Java 8 classes and fixes: use LocalDate.of, LocalTime and LocalDateTime for clear construction and default ISO toString output; use ChronoUnit.DAYS.between or Period/Duration for accurate differences; use plusDays/minusDays for immutable, predictable mutation. Old Calendar/Date behavior is shown failing — setters delay mutation and produce surprising results — while java.time classes produce correct zone-aware conversions with ZoneId/ZoneOffset and clear rules. Slides and code demo available.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Old date API problems
  3. 3:45New Date&Time classes
  4. 7:29Usage examples
  5. 11:52Setters issue
  6. 14:42Conclusion
~/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.