Return the serial date for YMD without using the date cache.

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
int
ymdToSerialNoCache(
    int year,
    int month,
    int day);

Description

Return the serial date representation of the date value indicated by the specified year, month, and day. The behavior is undefined unless isValidYearMonthDay(year, month, day) returns true. Note that this function is guaranteed not to use any date‐cache optimizations.

Return Value

serial date representation

Parameters

Name

Description

year

calendar year

month

month of year

day

day of month

Created with MrDocs