BloombergLP::bdlt::ProlepticDateImpUtil::serialToYmd

Load the year/month/day representation of the specified serial date.

Synopsis

Declared in <bdlt_prolepticdateimputil.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 isValidSerial(serialDay) returns true.

Parameters

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