YearMonthDay.IsLeapYear Method |
Indicates whether the year in question is a leap year.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic static bool IsLeapYear(
int year
)
Public Shared Function IsLeapYear (
year As Integer
) As Boolean
public:
static bool IsLeapYear(
int year
)
static member IsLeapYear :
year : int -> bool
Parameters
- year
- Type: System.Int32
The year.
Return Value
Type:
Booleantrue if
year is a leap year and
false if it is not.
See Also