Return the month of the date value indicated by the specified year and dayOfYear. The behavior is undefined unless true == isValidYearDay(year, dayOfYear).

Synopsis

Declared in <bdlt_posixdateimputil.h>

static
int
ydToMonth(
    int year,
    int dayOfYear);

Return Value

month of year

Parameters

Name

Description

year

calendar year

dayOfYear

day of year

Created with MrDocs