## GregorianCalendar::IsLeapMonth(int, int) const method


Checks if the month is leap.

```cpp
virtual bool System::Globalization::Calendar::IsLeapMonth(int year, int month) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year. |
| month | int | Month. |

### ReturnValue

True if specified month is leap, false otherwise.

## See Also

* Class [GregorianCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## GregorianCalendar::IsLeapMonth(int, int, int) const method


Checks if the month is leap.

```cpp
bool System::Globalization::GregorianCalendar::IsLeapMonth(int year, int month, int era) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year. |
| month | int | Month. |
| era | int | Era. |

### ReturnValue

True if specified month is leap, false otherwise.

## See Also

* Class [GregorianCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
