Defining Calendar class