Set this date to the specified year, month, and day.

Synopsis

Declared in <bdlt_date.h>

void
setYearMonthDay(
    int year,
    int month,
    int day);

Description

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).

Parameters

Name

Description

year

year of the date

month

month of the date

day

day of month of the date

Created with MrDocs