Return the year for the specified serial date.

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
int
serialToYear(int serialDay);

Description

Return the year of the date value indicated by the specified serialDay. The behavior is undefined unless isValidSerial(serialDay) returns true.

Return Value

calendar year

Parameters

Name

Description

serialDay

serial date to convert

Created with MrDocs