## Calendar::GetMonthsInYear(int) const method


지정된 연도에 대한 월 수를 가져옵니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 연도 | int | 개월 수를 가져올 연도. |

### ReturnValue

지정된 연도에 포함된 개월 수.

## 또 보기

* Class [Calendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
## Calendar::GetMonthsInYear(int, int) const method


지정된 연도에 대한 월 수를 가져옵니다.

```cpp
virtual int System::Globalization::Calendar::GetMonthsInYear(int year, int era) const
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 연도 | int | 개월 수를 가져올 연도. |
| 시대 | int | 시대. |

### ReturnValue

지정된 연도와 지정된 연호에 해당하는 개월 수.

## 또 보기

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