calendar_rd_test, a C++ code which calls calendar_rd() to return information about a given date.
This code is in the public domain, but any use of it should publicly acknowledge its source.
calendar_rd, a C++ code which computes the representation of a given date in a number of calendrical systems, by Edward Reingold, Nachum Dershowitz.