Set this date to the specified year, month, and day.
Declared in <bdlt_date.h>
void
setYearMonthDay(
int year,
int month,
int day);
Set this object to have the value represented by the specified year, month, and day. The behavior is undefined unless year, month, and day represent a valid Date value (see isValidYearMonthDay).
| Name | Description |
|---|---|
| year | year of the date |
| month | month of the date |
| day | day of month of the date |