Set this date from year and dayOfYear if they form a valid value.
Declared in <bdlt_date.h>
int
setYearDayIfValid(
int year,
int dayOfYear);
Set this object to have the value represented by the specified year and dayOfYear if they comprise a valid Date value (see isValidYearDay). Return 0 on success, and a non-zero value (with no effect) otherwise.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| year | year of the candidate date |
| dayOfYear | day of year of the candidate date |