The third and final piece of data that the standard date library stores is the Date of Calendar Reform being used for the given date.
The Date of Calendar Reform is the date of the switchover from the old Julian Calendar to the current Gregorian calendar.
The Julian Calendar was first used in 45 BC and was very similar to the current Gregorian Calendar except that it had leap years in years divisible by 100.