Working Julian and Gregorian calendar