IsLeapYear()
Contents
[
Hide
]GregorianCalendar::IsLeapYear(int, int) const method
Checks if the year is leap.
bool System::Globalization::GregorianCalendar::IsLeapYear(int year, int era) const override
Arguments
| Parameter | Type | Description | 
|---|---|---|
| year | int | Year. | 
| era | int | Era. | 
Return Value
True if specified year is leap, false otherwise.
GregorianCalendar::IsLeapYear(int) const method
Checks if the year is leap.
virtual bool System::Globalization::Calendar::IsLeapYear(int year) const
Arguments
| Parameter | Type | Description | 
|---|---|---|
| year | int | Year. | 
Return Value
True if specified year is leap, false otherwise.
GregorianCalendar::IsLeapYear(int, int) const method
Checks if the year is leap.
virtual bool System::Globalization::Calendar::IsLeapYear(int year, int era) const=0
Arguments
| Parameter | Type | Description | 
|---|---|---|
| year | int | Year. | 
| era | int | Era. | 
Return Value
True if specified year is leap, false otherwise.
See Also
- Class GregorianCalendar
- Namespace System::Globalization
- Library Aspose.Slides