YearMonthDayIsLeapYear 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.2.419.0 (24.2.419.0)
Syntax public 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: SystemInt32
The year.
Return Value
Type:
Boolean if
year is a leap year and
if it is not.
See Also