BloombergLP::bdlt::Date::Date

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();
» more...

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

Date(Date const& original);
» more...

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);
» more...

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);
» more...