System::DateTime::IsLeapYear 方法
DateTime::IsLeapYear method
确定指定的年份是否为闰年。
static bool System::DateTime::IsLeapYear(int year)
| 参数 | 类型 | 描述 |
|---|---|---|
| 年份 | int | 要检查的年份 |
ReturnValue
如果指定的年份是闰年则为 true,否则为 false
另见
- Class DateTime
- Namespace System
- Library Aspose.Font for C++