Return true if serialDay is a valid serial date value.

Synopsis

Declared in <bdlt_prolepticdateimputil.h>

static
bool
isValidSerial(int serialDay);

Description

Return true if the specified serialDay represents a valid date value, and false otherwise. Note that valid date values are (as fully defined in the component‐level documentation) in the range [1 .. 3652059].

Return Value

true if valid, and false otherwise

Parameters

Name

Description

serialDay

serial date to validate

Created with MrDocs