## GregorianCalendar::GetDaysInMonth(int, int) const method


يحصل على عدد الأيام في شهر معين.

```cpp
virtual int System::Globalization::Calendar::GetDaysInMonth(int year, int month) const
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| السنة | int | السنة. |
| شهر | int | الشهر للحصول على عدد الأيام فيه. |

### ReturnValue

عدد الأيام في الشهر المحدد من السنة المحددة.

## انظر أيضًا

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


يحصل على عدد الأيام في شهر معين.

```cpp
int System::Globalization::GregorianCalendar::GetDaysInMonth(int year, int month, int era) const override
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| السنة | int | السنة. |
| شهر | int | الشهر للحصول على عدد الأيام فيه. |
| العصر | int | العصر. |

### ReturnValue

عدد الأيام في الشهر المحدد من السنة المحددة من الحقبة المحددة.

## انظر أيضًا

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