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

Date(Date const& original);

Create a Date object from the specified year and dayOfYear.

Date(
    int year,
    int dayOfYear);

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

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

Parameters

Name

Description

original

date whose value is copied

year

year of the date

dayOfYear

day of year of the date

month

month of the date

day

day of month of the date

Created with MrDocs