BloombergLP::bdlt::ProlepticDateImpUtil::serialToYmdNoCache

Load YMD for serialDay without using the date cache.

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
void
serialToYmdNoCache(
    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. Note that this function is guaranteed not to use any date-cache-optimizations.

Parameters

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