Create a Date object from the specified year, month, and day.

Synopsis

Declared in <bdlt_date.h>

Date(
    int year,
    int month,
    int day);

Description

Create a Date object having 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