System::Globalization::Calendar::IsValidDay method

Calendar::IsValidDay method

Checks year, month, day and era values.

bool System::Globalization::Calendar::IsValidDay(int year, int month, int day, int era) const
ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
eraintEra.

ReturnValue

True if values are valid.

See Also