Set this object to have the value represented by the specified year, month, and day if they comprise a valid Date value (see isValidYearMonthDay). Return 0 on success, and a non-zero value (with no effect) otherwise.
Declared in <bdlt_date.h>
int
validateAndSetYearMonthDay(
int year,
int month,
int day);
DEPRECATED: Use setYearMonthDayIfValid instead.