---
title: "System::Globalization::KoreanCalendar::GetLeapMonth method"
url: "https://reference.aspose.com/font/cpp/system.globalization/koreancalendar/getleapmonth/"
product: "Aspose.Font for C++"
description: "System::Globalization::KoreanCalendar::GetLeapMonth method. Gets the leap month for the specified year in C++."
---

## KoreanCalendar::GetLeapMonth(int) const method


Gets the leap month for the specified year.

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


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year to get leap month in. |

### ReturnValue

Leap month of the speicified year or zero if the year has no leap month.

## See Also

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


Gets the leap month for the specified year.

```cpp
int System::Globalization::KoreanCalendar::GetLeapMonth(int year, int era) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year to get leap month in. |
| era | int | Era. |

### ReturnValue

Leap month of the speicified year of the specified era or zero if the year has no leap month.

## See Also

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