BloombergLP::bdlt::ProlepticDateImpUtil::serialToMonth

Return the month for the specified serial date.

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
int
serialToMonth(int serialDay);

Description

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

Return Value

month of year

Parameters

NameDescription
serialDayserial date to convert