`\n\n1. All date formats are YYYY-mm-dd, where month is index from 1 (i.e. 1 == January, not the usual javascript index of 0 == January!) and YYYY is the Gregorian year.\n\n1. $.whenIsPesach(yyyy) returns a date in the above format, where yyyy is the Gregorian year.\n\n Note that the date returned is the first day of Pesach, not the day on which Pesach begins at sunset.\n1. $.isPesach(d) returns true iff d is a date during Pesach, in the above format. Note that the day on which Pesach begins at sunset returns false.\n1. The following functions work in a similar way to $.isPesach():\n 1. $.isShavuot(), $.isRoshHashanah(), $.isYomKippur(), $.isSukkot();\n\n 1. $.isRegel(): $.isPesach() || $.isShavuot() || $.isSukkot();\n\n 1. $.isMoed(): Hol HaMoed Pesach or Hol HaMoed Sukkot;\n\n 1. $.isYomTov(): ($.isPesach() || $.isSukkot() || $.isShavuot() || $.isRoshHashanah()) && !$.isMoed();\n\n Note that isYomTov(yk) == false, where yk is the date of Yom Kippur.\n\n 1. `$.isPurim()`, `$.isHanuka()`\n\n 1. `$.isRoshChodesh()`\n\n 1. `$.is10Tevet()`, `$.isTaanitEster()`, `$.is17Tamuz()`, `$.is9Av()`, `$.isFastOfGedalia()`\n\n 1. `$.isTaanit()`: `$.is10Tevet() || $.isTaanitEster() || $.is17Tamuz() || $.is9Av() || $.isFastOfGedalia()`\n\n","author":{"@type":"Person","name":"Isaac Betesh"},"codeRepository":"https://github.com/betesh/hebcal","softwareVersion":["0.0.2","hebcal"],"downloadUrl":"https://rubygems.org/gems/hebcal","installUrl":"https://rubygems.org/gems/hebcal"}
Summary: # HebCal
Determines the date of Passover for a Gregorian year. Also includes boolean functions to check whether a date is a Jewish holiday, Fast Day...