diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-11 20:01:31 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-11 20:01:54 +0200 |
| commit | 8de560db7fb1b7b7d3ca93285068c6a4214e0bff (patch) | |
| tree | 3f19ec479846ec858dcb09ac85526a0d3e77dace /lib/kernel/temporal.ml | |
| parent | 6436509d6b599b7d7c6467bd39c8090cb9634889 (diff) | |
| download | colitur-8de560db7fb1b7b7d3ca93285068c6a4214e0bff.tar.gz colitur-8de560db7fb1b7b7d3ca93285068c6a4214e0bff.zip | |
kernel(calendar): the year is the primitive, the day is derived
Transfers make per-date resolution impossible to do correctly: resolving 25
March can push a feast onto 26 March, and RG 97-98 has coinciding I-class
feasts transfer in table order, which needs global knowledge. So year computes
a whole liturgical year in one pass and day indexes into it. Pure, no cache, no
mutable state.
This commit resolves each day but does not yet place deferred transfers; they
are recorded with a reason. Task 6 adds the placement pass.
Diffstat (limited to 'lib/kernel/temporal.ml')
0 files changed, 0 insertions, 0 deletions
