Commit graph

1 commit

Author SHA1 Message Date
6b1ba4cdcf
feat(time): implement timekeeping utilities (#1)
* feat(bc): implement timekeeping

* fix(time): Milliseconds and Seconds return storage should be 64-bit

* fix(time): nsec should be explicitly cast to uint32

* test(time): rudimentary tests for timekeeping

* fix(time): check properly for timestamp + nsec overflows in MakeTime and BreakTime

* fix(time): include UNIX time headers on Mac, too

* test(time): test can tolerate system hiccups
2023-08-03 17:15:10 -04:00