Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Go back to the start of the article, and you'll find that using the proleptic Gregorian calendar with astronomical year numbering is a premise for the algorithm.

Without that design constraint, testing for leap years becomes locale-dependent and very complex indeed.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: