## HijriCalendar::IsLeapYear(int) const method


Checks if the year is leap.

```cpp
virtual bool System::Globalization::Calendar::IsLeapYear(int year) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year. |

### ReturnValue

True if specified year is leap, false otherwise.

## See Also

* Class [HijriCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
## HijriCalendar::IsLeapYear(int, int) const method


Checks if the year is leap.

```cpp
bool System::Globalization::HijriCalendar::IsLeapYear(int year, int era) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year. |
| era | int | Era. |

### ReturnValue

True if specified year is leap, false otherwise.

## See Also

* Class [HijriCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
