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 having the value of the specified original.

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

Create a Date object from the specified year and dayOfYear.

Date(
    int year,
    int dayOfYear);
» more...

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

Date(
    int year,
    int month,
    int day);
» more...

Parameters

NameDescription
originaldate whose value is copied
yearyear of the date
dayOfYearday of year of the date
monthmonth of the date
dayday of month of the date