Added Gregorian parsing functions