BloombergLP::bdlt::ProlepticDateImpUtil::ydToMonth

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

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
int
ydToMonth(
    int year,
    int dayOfYear);