System.Globalization.HebrewCalendar.IsLeapMonth Method

Determines whether the specified month in the specified year in the specified era is a leap month.

Syntax

public override bool IsLeapMonth (int year, int month, int era)

Parameters

year
An integer that represents the year.
month
An integer from 1 to 13 that represents the month.
era
An integer that represents the era. Specify either HebrewCalendar.HebrewEra or HebrewCalendar.Eras[Calendar.CurrentEra].

Returns

true if the specified month is a leap month; otherwise, false.

Remarks

This implementation of the System.Globalization.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.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0