Refactored implementation of private instance method weekly_calendar in Calendar class.