BloombergLP::bdlt::PosixDateImpUtil::serialToYmd

Load year, month, and day from the given serial day.

Synopsis

Declared in <bdlt_posixdateimputil.h>

static
void
serialToYmd(
    int* year,
    int* month,
    int* day,
    int serialDay);

Description

Load, into the specified year, month, and day, the date value indicated by the specified serialDay. The behavior is undefined unless true == isValidSerial(serialDay).

Parameters

NameDescription
yeardestination for the year
monthdestination for the month
daydestination for the day
serialDayserial day to convert