Richard Damon writes:
As for holidays, why do holidays matter for time.
They don't. They matter for durations, because humans regularly do things like schedule a meeting for "one week from today" and then have to it because it will fall on a holiday observed by their employer. Why use units like months and cubits? Because "Man is the measure of all things." People think in terms of such units, and then are surprised when computers do "stupid" things with them, like convert them to intervals measured in seconds that are applied to TAI dates, and so schedule meetings on a holiday. Now, if you aren't thinking like a human, all you need are seconds. Why mess with such a complicated representation combining weeks and minutes and microseconds? So the OP is evidently thinking in service of humans. This protocol *will* be used by humans, and I'll guarantee you those users will occasionally be surprised and annoyed by the results. Steve