System::Globalization::JulianCalendar::GetDaysInMonth 方法
JulianCalendar::GetDaysInMonth(int, int) const method
获取特定月份的天数。
virtual int System::Globalization::Calendar::GetDaysInMonth(int year, int month) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 年份 | int | 年份。 |
| 月份 | int | 获取天数的月份。 |
ReturnValue
指定年份中指定月份的天数。
另见
- Class JulianCalendar
- Namespace System::Globalization
- Library Aspose.Font for C++
JulianCalendar::GetDaysInMonth(int, int, int) const method
获取特定月份的天数。
int System::Globalization::JulianCalendar::GetDaysInMonth(int year, int month, int era) const override
| 参数 | 类型 | 描述 |
|---|---|---|
| 年份 | int | 年份。 |
| 月份 | int | 获取天数的月份。 |
| 纪元 | int | 纪元。 |
ReturnValue
指定时代中指定年份的指定月份的天数。
另见
- Class JulianCalendar
- Namespace System::Globalization
- Library Aspose.Font for C++