I'm no calendar geek. I have however written production software that had to do date calculations, so wound up having to do the whole Gregorian to Julian and back conversion thing.
I was doing this before they wrote the book on it: http://www.calendarists.com