Is this fair enough to validate time for year 2009..

Code:bool valid::validDayOfDate(const int& day) { return (day>0) && (day<=31); } bool valid::validMonthOfDate(const int& month) { return (month>0) && (month<=12); } bool valid::validYearOfDate(const int& year) { return year==2009; } bool valid::validHourhOfDay(const int& hr) { return (hr>=0) && (hr<24); } bool valid::validMinuteOfDay(const int& min) { return (min>=0) && (min<60); }