Return the month of the date value indicated by the specified year and dayOfYear. The behavior is undefined unless true == isValidYearDay(year, dayOfYear).
Declared in <bdlt_posixdateimputil.h>
static
int
ydToMonth(
int year,
int dayOfYear);
month of year
| Name | Description |
|---|---|
| year | calendar year |
| dayOfYear | day of year |