HebrewCalendar: IsLeapMonth

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

Parameters

Year
[ByVal] Long. The year the month is in.
Month
[ByVal] Long. The month to check if it is a leap month.
Era
[ByRef] Optional. Variant. The era the year is in.

Return Values

Boolean -  Boolean indication if the month is a leap month.

Remarks

This implementation of the HebrewCalendar class recognizes only the Hebrew years 5343 to 5999 (1583 to 2239 in the Gregorian calendar).

In every 19-year cycle that ends with a year that is evenly divisible by 19, the 3rd, 6th, 8th, 11th, 14th, 17th, and 19th years are leap years. A common year can have from 353 to 355 days, depending on the placement of Jewish holidays. A leap year can have from 383 to 385 days.

A leap month is an entire month that occurs only in a leap year. In the Hebrew calendar, Adar Beit is the only leap month.

Exceptions

Exception Condition
ArgumentOutOfRangeException year, month, or era is outside the range supported by this calendar.

See Also

Project CorLib Overview

Class HebrewCalendar Overview