HijriCalendar: IsLeapDay |
Returns a boolean indicating if the specific day is a leap day.
Public Function IsLeapDay( ByVal Year As Long, ByVal Month As Long, ByVal Day As Long, Optional ByRef Era As Variant ) As Boolean
In every 30-year cycle that ends with a year that is evenly divisible by 30, the 2nd, 5th, 7th, 10th, 13th, 16th, 18th, 21st, 24th, 26th, and 29th years are leap years. A common year has 354 days and a leap year has 355 days.
A leap day is a day that occurs only in a leap year. In the Hijri calendar, the 30th day of Zulhijjah is the only leap day.
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Year is outside the range supported by the calendar. -or- Month is outside the range supported by the calendar. -or- Day is outside the range supported by the calendar. -or- Era is outside the range supported by the calendar. |