BloombergLP::bdlt::ProlepticDateImpUtil::serialToDayOfWeek

Return, as an integer (with 1 = SUN, 2 = MON, ..., 7 = SAT), the day (of the week) of the date value indicated by the specified serialDay. The behavior is undefined unless isValidSerial(serialDay) returns true.

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
int
serialToDayOfWeek(int serialDay);