add compare objects to gregorian calendar