Constructors

Synopses

Declared in <bdlt_date.h>

Create a Date object having the earliest supported date value, i.e., having a year/month/day representation of 0001/01/01.

Date();

Create a Date object having the value of the specified original date.

Date(Date const& original);

Create a Date object having the value represented by the specified year and dayOfYear. The behavior is undefined unless year and dayOfYear represent a valid Date value (see isValidYearDay).

Date(
    int year,
    int dayOfYear);

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

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

Created with MrDocs