## DateTime::IsLeapYear method


确定指定的年份是否为闰年。

```cpp
static bool System::DateTime::IsLeapYear(int year)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 年份 | int | 要检查的年份 |

### ReturnValue

如果指定年份是闰年则为 true，否则为 false

## 另见

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