NAnt SDK Documentation - v0.85-nightly-2005-11-09

DateTimeFunctions.IsLeapYear Method 

[This is preliminary documentation and subject to change.]

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

[Visual Basic]
<Function(Name:="is-leap-year")>
Public Shared Function IsLeapYear( _
   ByVal year As Integer _
) As Boolean
[C#]
[Function(Name="is-leap-year")]
public static bool IsLeapYear(
   int year
);

Parameters

year
A 4-digit year.

Return Value

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

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.DateTimeFunctions.IsLeapYear(System.Int32)

See Also

DateTimeFunctions Class | NAnt.Core.Functions Namespace