It isn't just a set of algorithms. What exactly are you interested in doing?
Do you understand that, for example, some calendars underwent reformation at different times in different countries - the Julian - Gregorian is one.
A book (minus some problems about year counting with regard to the Chinese calendar) has a discussion on 40 calendars and conversions between all of them with supporting C code:
Latham, Lance, 1995 'Standard C Date/Time Library: Programming the World's Calendars and Clocks '
Calendars are more about history, politics, religion and early astronomy
than anything else.
All calendric conversions work this basic way:
Convert the date in calendar A to JD (Julian days)
Convert JD to calendar B date.
Not all conversions are valid all the time. My experience is that there are good resources for some conversions, and conflicting resources for others.