Return the day of month for the given year and day‐of‐year.

Synopsis

Declared in <bdlt_posixdateimputil.h>

static
int
ydToDay(
    int year,
    int dayOfYear);

Description

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

Return Value

day of month

Parameters

Name

Description

year

calendar year

dayOfYear

day of year

Created with MrDocs