~/talk

Time Programming Fundamentals

Talkat CppCon 2015 · 2015-09-21..09-25· [web-platform]
links:none on file
slides:none on file

Library CCTZ provides concrete APIs: break_time to convert an absolute time_point to a civil breakdown, make_time (and make_time_info) to map civil Y/M/D H:M:S plus an Olson time zone to an exact time_point with normalization and explicit handling of skipped or repeated hours. It uses system tzdata (Olson), ignores leap seconds, extends range with wide integers, and notes ~500 zones with updates ~8–10 times per year; examples include rounding to day start and adding six civil months.

AI-written summary · about

  1. 0:00Intro
  2. 2:06Outline
  3. 3:42UTC - International Time Standard
  4. 4:26Absolute Time
  5. 7:03Interesting Time Zone Transitions
  6. 8:48Diagram of a Time String
  7. 9:40Classic Time APIs
  8. 11:18Classic Example
  9. 18:57What's missing?
  10. 22:13Hello, CCTZ
  11. 25:29The CCTZ Library Implementation
  12. 26:51Daylight-Saving Time Transitions
  13. 32:41cctz Make Time
  14. 36:34Translating Civil Time
  15. 38:32Parsing
  16. 41:58Example 3: Adding Months
  17. 44:00Example 4: Floor to Midnight
  18. 48:26Refactor: Old Code (Epoch Shifting)
  19. 50:21Refactor: NEW Code - BETTER
  20. 52:31Pro Tips
~/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.