isValid overloads
Declared in <bdlt_date.h>
Return true if year and dayOfYear form a valid Date value.
static
bool
isValid(
int year,
int dayOfYear);
» more...
Return true if year, month, and day form a valid Date value.
static
bool
isValid(
int year,
int month,
int day);
» more...
true if year and dayOfYear form a valid Date valuetrue if year, month, and day form a valid Date value| Name | Description |
|---|---|
| year | year of the candidate date |
| dayOfYear | day of year of the candidate date |
| month | month of the candidate date |
| day | day of month of the candidate date |