Commit a049e29
committed
Merge #83: Clock: Time Extent, Maker, and Associated Traits
e785a7f time extent: overhaul tests naming scheme (Cameron Garnham)
3d743ed time extent: use snake_case for module name (Cameron Garnham)
8653f9a time extent: rename `TimeExtentMaker` for clarity (Cameron Garnham)
0cab30c time extent: add tests and some corrections (Cameron Garnham)
028644d clock: time extent, maker, and associated traits (Cameron Garnham)
Pull request description:
`TimeExtent` is a simple structure that contains base increment (duration), and amount (a multiplier for the base the base increment). The resulting product of the base and the multiplier is the total duration of the time extent.
`TimeExtentClock` is a helper that generates time extents based upon the increment length and the time of the clock, this clock is specialised according to the `test` predicate with the `DefaultClockExtentMaker` type.
These modules will be used by the later connection cookie implementation.
ACKs for top commit:
da2ce7:
ACK e785a7f
Tree-SHA512: ba667cb47f9c5116355cbf34ea275d46404b09c5c1ff4aa825db2da49884a430174849b22c22a1b32b206bf06d7c34a054dc76b94a24e267205df909d0b3045d2 files changed
+558
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
0 commit comments