Return whether serialDay is a valid serial date value.

Synopsis

Declared in <bdlt_posixdateimputil.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 .. 3652061 ].

Return Value

true if valid, false otherwise

Parameters

Name

Description

serialDay

serial day to validate

Created with MrDocs