To calculate the calendar for years prior to the change over, take a look at Richard Crook's Universal Julian Calendar calculation sheets