Returns an indication whether the specified year is a leap year.
Namespace:
DlhSoft.Windows.DataAssembly: 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.