Refactored the implementation in Calendar class by moving the private helper methods and the constant to a new module named CalendarHelper.Then included this module in Calendar class.

After the refactoring re-ran the specs and the refactoring didn't broke any specs which were passing before this refactoring.