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