Return the month for serialDay without using the date cache.

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
int
serialToMonthNoCache(int serialDay);

Description

Return the month of the date value indicated by the specified serialDay. The behavior is undefined unless isValidSerial(serialDay) returns true. Note that this function is guaranteed not to use any date‐cache optimizations.

Return Value

month of year

Parameters

Name

Description

serialDay

serial date to convert

Created with MrDocs