IsLeapDay()

Calendar::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

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.

Return Value

True if specified date is leap, false otherwise.

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

Checks if the day is leap.

virtual bool System::Globalization::Calendar::IsLeapDay(int year, int month, int day, int era) const =0

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
eraintEra.

Return Value

True if specified date is leap, false otherwise.

See Also