Return the year for serialDay without using the date cache.

Synopsis

Declared in <bdlt_posixdateimputil.h>

static
int
serialToYearNoCache(int serialDay);

Description

Return the year of 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.

Return Value

calendar year

Parameters

Name

Description

serialDay

serial day to convert

Created with MrDocs