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

Name

Description

year

destination for the year

month

destination for the month

day

destination for the day

serialDay

serial day to convert

Created with MrDocs