It would be interesting if systems never had to account for a leap day every n years. I suppose 0.003% of a day (the error rate each year) each year isn't a big enough concern, otherwise known as 2.592 seconds.
It would be interesting if systems never had to account for a leap day every n years. I suppose 0.003% of a day (the error rate each year) each year isn't a big enough concern, otherwise known as 2.592 seconds.
Modern calendars tend to be arithmetic, based on fixed rules that approximate astronomy more or less accurately. The Julian calendar is one of the simplest; the Jewish calendar is one of the most complicated and most accurate.
Observational calendars are more directly based on astronomical observations. The Muslim calendar is one example: in some traditions, the start of Ramadan can’t be predicted exactly because it depends on seeing the new moon. UTC is also an observational calendar, since leap seconds are scheduled by observation not by fixed rules. The French revolutionary calendar was also (in its strict form) observational, keeping its years precisely in sync with the equinoxes.
The Chinese calendar is defined (since 1644) based on the days of true new moons and solar terms (corresponding to 15-degree solar longitudes), which also makes it purely astronomically defined.
The various Indian calendars are mostly defined using traditional astronomical texts, but I think there have been occasional attempts to update them to modern astronomical knowledge.
I'm not sure where the rate 0.003% of a day per year comes from in your comment; even the error in the Gregorian calendar is longer than this (if measured based on the northern equinox, about 12 seconds; if measured based on the mean tropical year, about 27 seconds).
They clearly knew the extreme cases (the solstices and equinoxes) but I don’t know if they actually adjusted each day; I don’t know how they actually market the hours, much less why they would bother.
Even the “minute” (small part) and “second” (the second division) were measured only due to the development of technology that allowed it.
(They are hated, because AFAIK they are unpredictable, which also answers your question, assuming you were asking about purely algorithmic/mathematical way without any outside inputs.)