Delete unused variable gregorian
Convert to ARC.