GetMonthsInYear()
Calendar::GetMonthsInYear(int) const method
Gets number of months in the specified year.
virtual int System::Globalization::Calendar::GetMonthsInYear(int year) const
Arguments
Parameter | Type | Description |
---|---|---|
year | int | Year to get number of months in. |
Return Value
Number of months in the specified year.
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
Arguments
Parameter | Type | Description |
---|---|---|
year | int | Year to get number of months in. |
era | int | Era. |
Return Value
Number of months in the specified year of specified era.
See Also
- Class Calendar
- Namespace System::Globalization
- Library Aspose.Slides