A calendarProgram written in Java