BloombergLP::bdlt::PosixDateImpUtil::serialToYmdNoCache

Load YMD from serialDay without using the date cache.

Synopsis

Declared in <bdlt_posixdateimputil.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 true == isValidSerial(serialDay). Note that this function is guaranteed not to use any date-cache-optimizations.

Parameters

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