IsValidDay()

Calendar::IsValidDay(int, int, int, int) const method

Checks year, month, day and era values.

bool System::Globalization::Calendar::IsValidDay(int year, int month, int day, int era) const

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
eraintEra.

Return Value

True if values are valid.

See Also