IsLeapDay()

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

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
eraintEra.

Return Value

True if specified date is leap, false otherwise.

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

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.

Return Value

True if specified date is leap, false otherwise.

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