Given a year and month, it returns a month object, with method day. Given a day, the month object returns which day of the week the given day is.