System::Globalization::GregorianCalendar::IsLeapDay method

GregorianCalendar::IsLeapDay(int, int, int, int) const method

Checks if the day is leap.

bool System::Globalization::GregorianCalendar::IsLeapDay(int year, int month, int day, int era) const override
ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
eraintEra.

ReturnValue

True if specified date is leap, false otherwise.

See Also

GregorianCalendar::IsLeapDay(int, int, int) const method

Checks if the day is leap.

virtual bool System::Globalization::Calendar::IsLeapDay(int year, int month, int day) const
ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.

ReturnValue

True if specified date is leap, false otherwise.

See Also