BloombergLP::bdlt::ProlepticDateImpUtil::serialToDayOfYear

Return the day of the year for the specified serial date.

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
int
serialToDayOfYear(int serialDay);

Description

Return the day of the year of the date value indicated by the specified serialDay. The behavior is undefined unless isValidSerial(serialDay) returns true.

Return Value

day of year

Parameters

NameDescription
serialDayserial date to convert