---
title: "System::Globalization::JapaneseCalendar::IsLeapMonth method"
url: "https://reference.aspose.com/tex/cpp/system.globalization/japanesecalendar/isleapmonth/"
product: "Aspose.TeX for C++"
description: "System::Globalization::JapaneseCalendar::IsLeapMonth method. Checks if the month is leap in C++."
---

## JapaneseCalendar::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 [JapaneseCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.TeX for C++](../../../)
## JapaneseCalendar::IsLeapMonth(int, int, int) const method


Checks if the month is leap.

```cpp
bool System::Globalization::JapaneseCalendar::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 [JapaneseCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.TeX for C++](../../../)
