Refactoring of Gregorian Based Calendars