The Gregorian calendar was a reform of the Julian calendar instituted in 1582 by Pope Gregory XIII, after whom the calendar was named, by papal bull Inter gravissimas dated 24 February 1582. What was the Julian calendar a reform of?