Return true if year, month, and day form a valid Date value.
Declared in <bdlt_date.h>
static
bool
isValidYearMonthDay(
int year,
int month,
int day);
Return true if the specified year, month, and day represent a valid value for a Date object, and false otherwise. year, month, and day represent a valid Date value if they correspond to a valid date as defined by the Unix (POSIX) calendar confined to the year range [1 .. 9999] inclusive. See {Valid Date Values and Their Representations} for details.
true if year, month, and day form a valid Date value
| Name | Description |
|---|---|
| year | year of the candidate date |
| month | month of the candidate date |
| day | day of month of the candidate date |