JulianCalendar: IsLeapMonth |
Returns a boolean indicating if the specific month is a leap month.
Public Function IsLeapMonth( ByVal Year As Long, ByVal Month As Long, Optional ByRef Era As Variant ) As Boolean
Unlike the Gregorian calendar, the Julian calendar defines a leap year as a year that is evenly divisible by four with no exceptions. Therefore, the calendar is inaccurate by one day every 128 years. For example, the year 1999 was not a leap year, but the year 2000 was. A common year has 365 days and a leap year has 366 days.
A leap month is an entire month that occurs only in a leap year. The Julian calendar does not have any leap months.
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Year is outside the range supported by the calendar. -or- Month is outside the range supported by the calendar. -or- Era is outside the range supported by the calendar. |