URL: http://stackoverflow.com/questions/1433030/validate-number-of-days-in-a-given-month

How would you validate the number of days in a given month?