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

Name

Description

year

destination for the calendar year

month

destination for the month of year

day

destination for the day of month

serialDay

serial date to convert

Created with MrDocs