Create a Date object from the specified year and dayOfYear.

Synopsis

Declared in <bdlt_date.h>

Date(
    int year,
    int dayOfYear);

Description

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

Parameters

Name

Description

year

year of the date

dayOfYear

day of year of the date

Created with MrDocs