datetime::is-leap-year

Returns an indication whether the specified year is a leap year.

Usage

bool datetime::is-leap-year(year)

Parameters

Name Type Description
year int A 4-digit year.

Return Value

true if year is a leap year; otherwise, false.

Requirements

Assembly: NAnt.Core (0.91.4312.0)