Return true if year/dayOfYear is a valid date value.
Declared in <bdlt_prolepticdateimputil.h>
static
bool
isValidYearDay(
int year,
int dayOfYear);
Return true if the specified year and dayOfYear 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 [0001/01 .. 9999/366].
true if valid, and false otherwise
| Name | Description |
|---|---|
| year | calendar year |
| dayOfYear | day of year |