Added generateTable method to calendar