DateTimeExtensions.IsLeapYear method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
IsLeapYear(DateTime)
Extension method
Gets whether the specified date
is a leap year.
public static bool IsLeapYear(this DateTime date)
Returns
true
if the year of date
is a leap year; otherwise false
.