System::Globalization::Calendar::GetMonthsInYear method
Contents
[
Hide
]Calendar::GetMonthsInYear(int) const method
Gets number of months in the specified year.
virtual int System::Globalization::Calendar::GetMonthsInYear(int year) const
| Parameter | Type | Description |
|---|---|---|
| year | int | Year to get number of months in. |
ReturnValue
Number of months in the specified year.
See Also
- Class Calendar
- Namespace System::Globalization
- Library Aspose.PUB for C++
Calendar::GetMonthsInYear(int, int) const method
Gets number of months in the specified year.
virtual int System::Globalization::Calendar::GetMonthsInYear(int year, int era) const
| 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 Calendar
- Namespace System::Globalization
- Library Aspose.PUB for C++