Return the serial date for the specified year and day-of-year.
Declared in <bdlt_prolepticdateimputil.h>
static
int
ydToSerial(
int year,
int dayOfYear);
Return the serial date representation of the date value indicated by the specified year and dayOfYear. The behavior is undefined unless isValidYearDay(year, dayOfYear) returns true.
serial date representation
| Name | Description |
|---|---|
| year | calendar year |
| dayOfYear | day of year |