Commit b75ebbe
Add support for windowed alarms in MPAS timekeeping
This commit adds active windows to recurring alarms. If users do not
provide a start or stop time, they default to the clock start and stop,
so existing behavior is unchanged. New helpers simplify the logic and
are validated indirectly through behavior-level tests, allowing future
refactoring without breaking the suite. A new test fixture and 16-case
suite verify alarm behavior across boundaries, resets, anchors, and
direction changes, documenting the alarm ringing contract and ensuring
safe future development of MPAS timekeeping.1 parent 6c996cd commit b75ebbe
4 files changed
Lines changed: 633 additions & 12 deletions
File tree
- src
- core_test
- framework
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
245 | 257 | | |
246 | 258 | | |
247 | 259 | | |
| |||
0 commit comments