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

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public static bool IsLeapYear(
	int year
)
Visual Basic (Declaration)
Public Shared Function IsLeapYear ( _
	year As Integer _
) As Boolean

Parameters

year
Type: System..::.Int32
A 4-digit year.

Return Value

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

See Also