## KoreanCalendar::GetMonthsInYear(int) const method


RTTI information.

```cpp
virtual int System::Globalization::Calendar::GetMonthsInYear(int year) const
```

## See Also

* Class [KoreanCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## KoreanCalendar::GetMonthsInYear(int, int) const method


Gets number of months in the specified year.

```cpp
int System::Globalization::KoreanCalendar::GetMonthsInYear(int year, int era) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year to get number of months in. |
| era | int | Era. |

### ReturnValue

Number of months in the specified year of specified era.

## See Also

* Class [KoreanCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
