No epoch error, just remember the leap year calculations. 1900 was
not a leap year (it's a leap year if the year is divisible by 4, but not 100, except when also divisible by 400), and so the time between January 1900 and January 1928 is missing 1 day (February 29th, 1900 doesn't exist). In March of the respective years the calendars match up again.
As for the original question: the
cal utility only has to support dates between September 14, 1752 and December 31, 9999 (both Gregorian calendar):
Quote:
The cal utility shall write a calendar to standard output using the Julian calendar for dates from January 1, 1 through September 2, 1752 and the Gregorian calendar for dates from September 14, 1752 through December 31, 9999 as though the Gregorian calendar had been adopted on September 14, 1752.