On 26 May 2013 19:23, Bernhard Voelker <mail@xxxxxxxxxxxxxxxxxxx> wrote: > On 05/26/2013 11:14 AM, Sami Kerola wrote: >> The cal branch I have in my git has got fixes to issues reviewed earlier, >> and I hope all works. Based on that I decided to get rid of upper cal >> year limit, 9999, and replace it with unsigned long. I know the change >> does not make much practical sense, the point of the change is that where >> there is no need to have artificial limits to a random magic number they >> should not exist. > > unsigned years ... hmm, not that this would work today, but what about BC > years? E.g. on what weekday did Julius Caesar die (March 15th, 44 BC, [1])? > Maybe a future improvement (... having to make years signed again)? > > [1] http://en.wikipedia.org/wiki/Julius_Caesar Hi Berny, You are right. I'll make the year to be signed, and make error to be displayed, for now, if negative year is defined. BTW I tried the Tøndering's algorithm negative years and it gave odd and obviously wrong results. If someone who is part of this list is interested of mathematical puzzles making the negative year weekday determination to work should be interesting challenge. -- Sami Kerola http://www.iki.fi/kerolasa/ -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html