@hebcal/core 5.6.0 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/README.md +23 -1
  2. package/dist/CalOptions.d.ts +1 -1
  3. package/dist/HolidayEvent.d.ts +0 -5
  4. package/dist/YomKippurKatanEvent.d.ts +0 -1
  5. package/dist/bundle.js +9735 -9576
  6. package/dist/bundle.js.map +1 -1
  7. package/dist/bundle.min.js +2 -2
  8. package/dist/bundle.min.js.map +1 -1
  9. package/dist/calendar.d.ts +110 -0
  10. package/dist/candles.d.ts +9 -1
  11. package/dist/es/CalOptions.d.ts +158 -0
  12. package/dist/es/DailyLearning.d.ts +21 -0
  13. package/dist/es/DailyLearning.js +36 -0
  14. package/dist/es/DailyLearning.js.map +1 -0
  15. package/dist/es/HebrewDateEvent.d.ts +37 -0
  16. package/dist/es/HebrewDateEvent.js +77 -0
  17. package/dist/es/HebrewDateEvent.js.map +1 -0
  18. package/dist/es/HolidayEvent.d.ts +76 -0
  19. package/dist/es/HolidayEvent.js +165 -0
  20. package/dist/es/HolidayEvent.js.map +1 -0
  21. package/dist/es/MevarchimChodeshEvent.d.ts +25 -0
  22. package/dist/es/MevarchimChodeshEvent.js +54 -0
  23. package/dist/es/MevarchimChodeshEvent.js.map +1 -0
  24. package/dist/es/ParshaEvent.d.ts +23 -0
  25. package/dist/es/ParshaEvent.js +53 -0
  26. package/dist/es/ParshaEvent.js.map +1 -0
  27. package/dist/es/TimedEvent.d.ts +47 -0
  28. package/dist/es/TimedEvent.js +97 -0
  29. package/dist/es/TimedEvent.js.map +1 -0
  30. package/dist/es/YomKippurKatanEvent.d.ts +23 -0
  31. package/dist/es/YomKippurKatanEvent.js +43 -0
  32. package/dist/es/YomKippurKatanEvent.js.map +1 -0
  33. package/dist/es/ashkenazi.po.d.ts +67 -0
  34. package/dist/es/ashkenazi.po.js +5 -0
  35. package/dist/es/ashkenazi.po.js.map +1 -0
  36. package/dist/es/calendar.d.ts +110 -0
  37. package/dist/es/calendar.js +615 -0
  38. package/dist/es/calendar.js.map +1 -0
  39. package/dist/es/candles.d.ts +36 -0
  40. package/dist/es/candles.js +154 -0
  41. package/dist/es/candles.js.map +1 -0
  42. package/dist/es/event.d.ts +187 -0
  43. package/dist/es/event.js +243 -0
  44. package/dist/es/event.js.map +1 -0
  45. package/dist/es/getStartAndEnd.d.ts +6 -0
  46. package/dist/es/getStartAndEnd.js +102 -0
  47. package/dist/es/getStartAndEnd.js.map +1 -0
  48. package/dist/es/hallel.d.ts +6 -0
  49. package/dist/es/hallel.js +52 -0
  50. package/dist/es/hallel.js.map +1 -0
  51. package/dist/es/he.po.d.ts +246 -0
  52. package/dist/es/he.po.js +5 -0
  53. package/dist/es/he.po.js.map +1 -0
  54. package/dist/es/hebcal.d.ts +259 -0
  55. package/dist/es/hebcal.js +336 -0
  56. package/dist/es/hebcal.js.map +1 -0
  57. package/dist/es/holidays.d.ts +22 -0
  58. package/dist/es/holidays.js +321 -0
  59. package/dist/es/holidays.js.map +1 -0
  60. package/dist/es/index.d.ts +23 -0
  61. package/dist/es/index.js +22 -0
  62. package/dist/es/index.js.map +1 -0
  63. package/dist/es/locale.d.ts +1 -0
  64. package/dist/es/locale.js +21 -0
  65. package/dist/es/locale.js.map +1 -0
  66. package/dist/es/location.d.ts +73 -0
  67. package/dist/es/location.js +306 -0
  68. package/dist/es/location.js.map +1 -0
  69. package/dist/es/modern.d.ts +18 -0
  70. package/dist/es/modern.js +64 -0
  71. package/dist/es/modern.js.map +1 -0
  72. package/dist/es/molad.d.ts +62 -0
  73. package/dist/es/molad.js +141 -0
  74. package/dist/es/molad.js.map +1 -0
  75. package/dist/es/omer.d.ts +37 -0
  76. package/dist/es/omer.js +88 -0
  77. package/dist/es/omer.js.map +1 -0
  78. package/dist/es/parshaName.d.ts +3 -0
  79. package/dist/es/parshaName.js +19 -0
  80. package/dist/es/parshaName.js.map +1 -0
  81. package/dist/es/pkgVersion.d.ts +2 -0
  82. package/dist/es/pkgVersion.js +6 -0
  83. package/dist/es/pkgVersion.js.map +1 -0
  84. package/dist/es/reformatTimeStr.d.ts +8 -0
  85. package/dist/es/reformatTimeStr.js +52 -0
  86. package/dist/es/reformatTimeStr.js.map +1 -0
  87. package/dist/es/sedra.d.ts +107 -0
  88. package/dist/es/sedra.js +494 -0
  89. package/dist/es/sedra.js.map +1 -0
  90. package/dist/es/staticHolidays.d.ts +176 -0
  91. package/dist/es/staticHolidays.js +626 -0
  92. package/dist/es/staticHolidays.js.map +1 -0
  93. package/dist/es/tachanun.d.ts +29 -0
  94. package/dist/es/tachanun.js +125 -0
  95. package/dist/es/tachanun.js.map +1 -0
  96. package/dist/es/zmanim.d.ts +341 -0
  97. package/dist/es/zmanim.js +573 -0
  98. package/dist/es/zmanim.js.map +1 -0
  99. package/dist/event.d.ts +1 -0
  100. package/dist/he.po.d.ts +0 -51
  101. package/dist/holidays.d.ts +13 -0
  102. package/dist/index.cjs +2757 -10038
  103. package/dist/index.cjs.map +1 -1
  104. package/dist/index.d.ts +3 -2
  105. package/dist/module.d.ts +105 -80
  106. package/dist/pkgVersion.d.ts +1 -1
  107. package/dist/sedra.d.ts +9 -4
  108. package/dist/tachanun.d.ts +17 -1
  109. package/package.json +21 -9
  110. package/dist/index.mjs +0 -11993
  111. package/dist/index.mjs.map +0 -1
@@ -0,0 +1,67 @@
1
+ declare const _default: {
2
+ headers: {
3
+ "plural-forms": string;
4
+ };
5
+ contexts: {
6
+ "": {
7
+ Shabbat: string[];
8
+ "Achrei Mot": string[];
9
+ Bechukotai: string[];
10
+ "Beha'alotcha": string[];
11
+ Bereshit: string[];
12
+ Chukat: string[];
13
+ "Erev Shavuot": string[];
14
+ "Erev Sukkot": string[];
15
+ "Ki Tavo": string[];
16
+ "Ki Teitzei": string[];
17
+ "Ki Tisa": string[];
18
+ Matot: string[];
19
+ "Purim Katan": string[];
20
+ "Shabbat Chazon": string[];
21
+ "Shabbat HaChodesh": string[];
22
+ "Shabbat HaGadol": string[];
23
+ "Shabbat Nachamu": string[];
24
+ "Shabbat Parah": string[];
25
+ "Shabbat Shekalim": string[];
26
+ "Shabbat Shuva": string[];
27
+ "Shabbat Zachor": string[];
28
+ Shavuot: string[];
29
+ "Shavuot I": string[];
30
+ "Shavuot II": string[];
31
+ Shemot: string[];
32
+ "Shmini Atzeret": string[];
33
+ "Simchat Torah": string[];
34
+ Sukkot: string[];
35
+ "Sukkot I": string[];
36
+ "Sukkot II": string[];
37
+ "Sukkot II (CH''M)": string[];
38
+ "Sukkot III (CH''M)": string[];
39
+ "Sukkot IV (CH''M)": string[];
40
+ "Sukkot V (CH''M)": string[];
41
+ "Sukkot VI (CH''M)": string[];
42
+ "Sukkot VII (Hoshana Raba)": string[];
43
+ "Ta'anit Bechorot": string[];
44
+ "Ta'anit Esther": string[];
45
+ Toldot: string[];
46
+ Vaetchanan: string[];
47
+ Yitro: string[];
48
+ "Vezot Haberakhah": string[];
49
+ Parashat: string[];
50
+ "Leil Selichot": string[];
51
+ "Shabbat Mevarchim Chodesh": string[];
52
+ "Shabbat Shirah": string[];
53
+ "Asara B'Tevet": string[];
54
+ "Alot HaShachar": string[];
55
+ "Kriat Shema, sof zeman": string[];
56
+ "Tefilah, sof zeman": string[];
57
+ "Kriat Shema, sof zeman (MGA)": string[];
58
+ "Tefilah, sof zeman (MGA)": string[];
59
+ "Chatzot HaLailah": string[];
60
+ "Chatzot hayom": string[];
61
+ "Tzeit HaKochavim": string[];
62
+ "Birkat Hachamah": string[];
63
+ "Shushan Purim Katan": string[];
64
+ };
65
+ };
66
+ };
67
+ export default _default;
@@ -0,0 +1,5 @@
1
+ /*! @hebcal/core v5.7.0 */
2
+ var poAshkenazi = { "headers": { "plural-forms": "nplurals=2; plural=(n > 1);" }, "contexts": { "": { "Shabbat": ["Shabbos"], "Achrei Mot": ["Achrei Mos"], "Bechukotai": ["Bechukosai"], "Beha'alotcha": ["Beha’aloscha"], "Bereshit": ["Bereshis"], "Chukat": ["Chukas"], "Erev Shavuot": ["Erev Shavuos"], "Erev Sukkot": ["Erev Sukkos"], "Ki Tavo": ["Ki Savo"], "Ki Teitzei": ["Ki Seitzei"], "Ki Tisa": ["Ki Sisa"], "Matot": ["Matos"], "Purim Katan": ["Purim Koton"], "Shabbat Chazon": ["Shabbos Chazon"], "Shabbat HaChodesh": ["Shabbos HaChodesh"], "Shabbat HaGadol": ["Shabbos HaGadol"], "Shabbat Nachamu": ["Shabbos Nachamu"], "Shabbat Parah": ["Shabbos Parah"], "Shabbat Shekalim": ["Shabbos Shekalim"], "Shabbat Shuva": ["Shabbos Shuvah"], "Shabbat Zachor": ["Shabbos Zachor"], "Shavuot": ["Shavuos"], "Shavuot I": ["Shavuos I"], "Shavuot II": ["Shavuos II"], "Shemot": ["Shemos"], "Shmini Atzeret": ["Shmini Atzeres"], "Simchat Torah": ["Simchas Torah"], "Sukkot": ["Sukkos"], "Sukkot I": ["Sukkos I"], "Sukkot II": ["Sukkos II"], "Sukkot II (CH''M)": ["Sukkos II (CH’’M)"], "Sukkot III (CH''M)": ["Sukkos III (CH’’M)"], "Sukkot IV (CH''M)": ["Sukkos IV (CH’’M)"], "Sukkot V (CH''M)": ["Sukkos V (CH’’M)"], "Sukkot VI (CH''M)": ["Sukkos VI (CH’’M)"], "Sukkot VII (Hoshana Raba)": ["Sukkos VII (Hoshana Raba)"], "Ta'anit Bechorot": ["Ta’anis Bechoros"], "Ta'anit Esther": ["Ta’anis Esther"], "Toldot": ["Toldos"], "Vaetchanan": ["Vaeschanan"], "Yitro": ["Yisro"], "Vezot Haberakhah": ["Vezos Haberakhah"], "Parashat": ["Parshas"], "Leil Selichot": ["Leil Selichos"], "Shabbat Mevarchim Chodesh": ["Shabbos Mevorchim Chodesh"], "Shabbat Shirah": ["Shabbos Shirah"], "Asara B'Tevet": ["Asara B’Teves"], "Alot HaShachar": ["Alos HaShachar"], "Kriat Shema, sof zeman": ["Krias Shema, sof zman"], "Tefilah, sof zeman": ["Tefilah, sof zman"], "Kriat Shema, sof zeman (MGA)": ["Krias Shema, sof zman (MGA)"], "Tefilah, sof zeman (MGA)": ["Tefilah, sof zman (MGA)"], "Chatzot HaLailah": ["Chatzos HaLailah"], "Chatzot hayom": ["Chatzos"], "Tzeit HaKochavim": ["Tzeis HaKochavim"], "Birkat Hachamah": ["Birkas Hachamah"], "Shushan Purim Katan": ["Shushan Purim Koton"] } } };
3
+
4
+ export { poAshkenazi as default };
5
+ //# sourceMappingURL=ashkenazi.po.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ashkenazi.po.js","sources":["../../../src/ashkenazi.po.ts"],"sourcesContent":["export default {\"headers\":{\"plural-forms\":\"nplurals=2; plural=(n > 1);\"},\"contexts\":{\"\":{\"Shabbat\":[\"Shabbos\"],\"Achrei Mot\":[\"Achrei Mos\"],\"Bechukotai\":[\"Bechukosai\"],\"Beha'alotcha\":[\"Beha’aloscha\"],\"Bereshit\":[\"Bereshis\"],\"Chukat\":[\"Chukas\"],\"Erev Shavuot\":[\"Erev Shavuos\"],\"Erev Sukkot\":[\"Erev Sukkos\"],\"Ki Tavo\":[\"Ki Savo\"],\"Ki Teitzei\":[\"Ki Seitzei\"],\"Ki Tisa\":[\"Ki Sisa\"],\"Matot\":[\"Matos\"],\"Purim Katan\":[\"Purim Koton\"],\"Shabbat Chazon\":[\"Shabbos Chazon\"],\"Shabbat HaChodesh\":[\"Shabbos HaChodesh\"],\"Shabbat HaGadol\":[\"Shabbos HaGadol\"],\"Shabbat Nachamu\":[\"Shabbos Nachamu\"],\"Shabbat Parah\":[\"Shabbos Parah\"],\"Shabbat Shekalim\":[\"Shabbos Shekalim\"],\"Shabbat Shuva\":[\"Shabbos Shuvah\"],\"Shabbat Zachor\":[\"Shabbos Zachor\"],\"Shavuot\":[\"Shavuos\"],\"Shavuot I\":[\"Shavuos I\"],\"Shavuot II\":[\"Shavuos II\"],\"Shemot\":[\"Shemos\"],\"Shmini Atzeret\":[\"Shmini Atzeres\"],\"Simchat Torah\":[\"Simchas Torah\"],\"Sukkot\":[\"Sukkos\"],\"Sukkot I\":[\"Sukkos I\"],\"Sukkot II\":[\"Sukkos II\"],\"Sukkot II (CH''M)\":[\"Sukkos II (CH’’M)\"],\"Sukkot III (CH''M)\":[\"Sukkos III (CH’’M)\"],\"Sukkot IV (CH''M)\":[\"Sukkos IV (CH’’M)\"],\"Sukkot V (CH''M)\":[\"Sukkos V (CH’’M)\"],\"Sukkot VI (CH''M)\":[\"Sukkos VI (CH’’M)\"],\"Sukkot VII (Hoshana Raba)\":[\"Sukkos VII (Hoshana Raba)\"],\"Ta'anit Bechorot\":[\"Ta’anis Bechoros\"],\"Ta'anit Esther\":[\"Ta’anis Esther\"],\"Toldot\":[\"Toldos\"],\"Vaetchanan\":[\"Vaeschanan\"],\"Yitro\":[\"Yisro\"],\"Vezot Haberakhah\":[\"Vezos Haberakhah\"],\"Parashat\":[\"Parshas\"],\"Leil Selichot\":[\"Leil Selichos\"],\"Shabbat Mevarchim Chodesh\":[\"Shabbos Mevorchim Chodesh\"],\"Shabbat Shirah\":[\"Shabbos Shirah\"],\"Asara B'Tevet\":[\"Asara B’Teves\"],\"Alot HaShachar\":[\"Alos HaShachar\"],\"Kriat Shema, sof zeman\":[\"Krias Shema, sof zman\"],\"Tefilah, sof zeman\":[\"Tefilah, sof zman\"],\"Kriat Shema, sof zeman (MGA)\":[\"Krias Shema, sof zman (MGA)\"],\"Tefilah, sof zeman (MGA)\":[\"Tefilah, sof zman (MGA)\"],\"Chatzot HaLailah\":[\"Chatzos HaLailah\"],\"Chatzot hayom\":[\"Chatzos\"],\"Tzeit HaKochavim\":[\"Tzeis HaKochavim\"],\"Birkat Hachamah\":[\"Birkas Hachamah\"],\"Shushan Purim Katan\":[\"Shushan Purim Koton\"]}}}"],"names":[],"mappings":";AAAA,kBAAe,EAAC,SAAS,EAAC,EAAC,cAAc,EAAC,6BAA6B,EAAC,EAAC,UAAU,EAAC,EAAC,EAAE,EAAC,EAAC,SAAS,EAAC,CAAC,SAAS,CAAC,EAAC,YAAY,EAAC,CAAC,YAAY,CAAC,EAAC,YAAY,EAAC,CAAC,YAAY,CAAC,EAAC,cAAc,EAAC,CAAC,cAAc,CAAC,EAAC,UAAU,EAAC,CAAC,UAAU,CAAC,EAAC,QAAQ,EAAC,CAAC,QAAQ,CAAC,EAAC,cAAc,EAAC,CAAC,cAAc,CAAC,EAAC,aAAa,EAAC,CAAC,aAAa,CAAC,EAAC,SAAS,EAAC,CAAC,SAAS,CAAC,EAAC,YAAY,EAAC,CAAC,YAAY,CAAC,EAAC,SAAS,EAAC,CAAC,SAAS,CAAC,EAAC,OAAO,EAAC,CAAC,OAAO,CAAC,EAAC,aAAa,EAAC,CAAC,aAAa,CAAC,EAAC,gBAAgB,EAAC,CAAC,gBAAgB,CAAC,EAAC,mBAAmB,EAAC,CAAC,mBAAmB,CAAC,EAAC,iBAAiB,EAAC,CAAC,iBAAiB,CAAC,EAAC,iBAAiB,EAAC,CAAC,iBAAiB,CAAC,EAAC,eAAe,EAAC,CAAC,eAAe,CAAC,EAAC,kBAAkB,EAAC,CAAC,kBAAkB,CAAC,EAAC,eAAe,EAAC,CAAC,gBAAgB,CAAC,EAAC,gBAAgB,EAAC,CAAC,gBAAgB,CAAC,EAAC,SAAS,EAAC,CAAC,SAAS,CAAC,EAAC,WAAW,EAAC,CAAC,WAAW,CAAC,EAAC,YAAY,EAAC,CAAC,YAAY,CAAC,EAAC,QAAQ,EAAC,CAAC,QAAQ,CAAC,EAAC,gBAAgB,EAAC,CAAC,gBAAgB,CAAC,EAAC,eAAe,EAAC,CAAC,eAAe,CAAC,EAAC,QAAQ,EAAC,CAAC,QAAQ,CAAC,EAAC,UAAU,EAAC,CAAC,UAAU,CAAC,EAAC,WAAW,EAAC,CAAC,WAAW,CAAC,EAAC,mBAAmB,EAAC,CAAC,mBAAmB,CAAC,EAAC,oBAAoB,EAAC,CAAC,oBAAoB,CAAC,EAAC,mBAAmB,EAAC,CAAC,mBAAmB,CAAC,EAAC,kBAAkB,EAAC,CAAC,kBAAkB,CAAC,EAAC,mBAAmB,EAAC,CAAC,mBAAmB,CAAC,EAAC,2BAA2B,EAAC,CAAC,2BAA2B,CAAC,EAAC,kBAAkB,EAAC,CAAC,kBAAkB,CAAC,EAAC,gBAAgB,EAAC,CAAC,gBAAgB,CAAC,EAAC,QAAQ,EAAC,CAAC,QAAQ,CAAC,EAAC,YAAY,EAAC,CAAC,YAAY,CAAC,EAAC,OAAO,EAAC,CAAC,OAAO,CAAC,EAAC,kBAAkB,EAAC,CAAC,kBAAkB,CAAC,EAAC,UAAU,EAAC,CAAC,SAAS,CAAC,EAAC,eAAe,EAAC,CAAC,eAAe,CAAC,EAAC,2BAA2B,EAAC,CAAC,2BAA2B,CAAC,EAAC,gBAAgB,EAAC,CAAC,gBAAgB,CAAC,EAAC,eAAe,EAAC,CAAC,eAAe,CAAC,EAAC,gBAAgB,EAAC,CAAC,gBAAgB,CAAC,EAAC,wBAAwB,EAAC,CAAC,uBAAuB,CAAC,EAAC,oBAAoB,EAAC,CAAC,mBAAmB,CAAC,EAAC,8BAA8B,EAAC,CAAC,6BAA6B,CAAC,EAAC,0BAA0B,EAAC,CAAC,yBAAyB,CAAC,EAAC,kBAAkB,EAAC,CAAC,kBAAkB,CAAC,EAAC,eAAe,EAAC,CAAC,SAAS,CAAC,EAAC,kBAAkB,EAAC,CAAC,kBAAkB,CAAC,EAAC,iBAAiB,EAAC,CAAC,iBAAiB,CAAC,EAAC,qBAAqB,EAAC,CAAC,qBAAqB,CAAC,EAAC,EAAC,EAAC;;;;"}
@@ -0,0 +1,110 @@
1
+ import { CalOptions } from './CalOptions';
2
+ import { Event } from './event';
3
+ /**
4
+ * Calculates holidays and other Hebrew calendar events based on {@link CalOptions}.
5
+ *
6
+ * Each holiday is represented by an {@link Event} object which includes a date,
7
+ * a description, flags and optional attributes.
8
+ * If given no options, returns holidays for the Diaspora for the current Gregorian year.
9
+ *
10
+ * The date range returned by this function can be controlled by:
11
+ * * `options.year` - Gregorian (e.g. 1993) or Hebrew year (e.g. 5749)
12
+ * * `options.isHebrewYear` - to interpret `year` as Hebrew year
13
+ * * `options.numYears` - generate calendar for multiple years (default 1)
14
+ * * `options.month` - Gregorian or Hebrew month (to filter results to a single month)
15
+ *
16
+ * Alternatively, specify start and end days with `Date` or {@link HDate} instances:
17
+ * * `options.start` - use specific start date (requires `end` date)
18
+ * * `options.end` - use specific end date (requires `start` date)
19
+ *
20
+ * Unless `options.noHolidays == true`, default holidays include:
21
+ * * Major holidays - Rosh Hashana, Yom Kippur, Pesach, Sukkot, etc.
22
+ * * Minor holidays - Purim, Chanukah, Tu BiShvat, Lag BaOmer, etc.
23
+ * * Minor fasts - Ta'anit Esther, Tzom Gedaliah, etc. (unless `options.noMinorFast`)
24
+ * * Special Shabbatot - Shabbat Shekalim, Zachor, etc. (unless `options.noSpecialShabbat`)
25
+ * * Modern Holidays - Yom HaShoah, Yom HaAtzma'ut, etc. (unless `options.noModern`)
26
+ * * Rosh Chodesh (unless `options.noRoshChodesh`)
27
+ *
28
+ * Holiday and Torah reading schedules differ between Israel and the Disapora.
29
+ * Set `options.il=true` to use the Israeli schedule.
30
+ *
31
+ * Additional non-default event types can be specified:
32
+ * * Parashat HaShavua - weekly Torah Reading on Saturdays (`options.sedrot`)
33
+ * * Counting of the Omer (`options.omer`)
34
+ * * Shabbat Mevarchim HaChodesh on Saturday before Rosh Chodesh (`options.shabbatMevarchim`)
35
+ * * Molad announcement on Saturday before Rosh Chodesh (`options.molad`)
36
+ * * Yom Kippur Katan (`options.yomKippurKatan`)
37
+ *
38
+ * Daily Study of texts are supported by the
39
+ * {@link https://github.com/hebcal/hebcal-learning @hebcal/learning} package,
40
+ * for example:
41
+ * * Babylonian Talmud Daf Yomi (`options.dailyLearning.dafYomi`)
42
+ * * Jerusalem Talmud (Yerushalmi) Yomi (`options.dailyLearning.yerushalmi`)
43
+ * * Mishna Yomi (`options.dailyLearning.mishnaYomi`)
44
+ * * Nach Yomi (`options.dailyLearning.nachYomi`)
45
+ *
46
+ * Candle-lighting and Havdalah times are approximated using latitude and longitude
47
+ * specified by the {@link Location} class. The `Location` class contains a small
48
+ * database of cities with their associated geographic information and time-zone information.
49
+ * If you ever have any doubts about Hebcal's times, consult your local halachic authority.
50
+ * If you enter geographic coordinates above the arctic circle or antarctic circle,
51
+ * the times are guaranteed to be wrong.
52
+ *
53
+ * To add candle-lighting options, set `options.candlelighting=true` and set
54
+ * `options.location` to an instance of `Location`. By default, candle lighting
55
+ * time is 18 minutes before sundown (40 minutes for Jerusalem,
56
+ * 30 minutes for Haifa and Zikhron Ya'akov) and Havdalah is
57
+ * calculated according to Tzeit Hakochavim - Nightfall (the point when 3 small stars
58
+ * are observable in the night time sky with the naked eye). The default Havdalah
59
+ * option (Tzeit Hakochavim) is calculated when the sun is 8.5° below the horizon.
60
+ * These defaults can be changed using these options:
61
+ * * `options.candleLightingMins` - minutes before sundown to light candles
62
+ * * `options.havdalahMins` - minutes after sundown for Havdalah (typical values are 42, 50, or 72).
63
+ * Havdalah times are suppressed when `options.havdalahMins=0`.
64
+ * * `options.havdalahDeg` - degrees for solar depression for Havdalah.
65
+ * Default is 8.5 degrees for 3 small stars. Use 7.083 degrees for 3 medium-sized stars.
66
+ * Havdalah times are suppressed when `options.havdalahDeg=0`.
67
+ *
68
+ * If both `options.candlelighting=true` and `options.location` is specified,
69
+ * Chanukah candle-lighting times and minor fast start/end times will also be generated.
70
+ * Chanukah candle-lighting is at Bein HaShmashos (13.5 minutes before
71
+ * the sun is 7.083° below the horizon in the evening)
72
+ * on weekdays, at regular candle-lighting time on Fridays, and at regular Havdalah time on
73
+ * Saturday night (see above).
74
+ *
75
+ * Minor fasts begin at Alot HaShachar (sun is 16.1° below the horizon in the morning) and
76
+ * end when 3 medium-sized stars are observable in the night sky (sun is 7.083° below the horizon
77
+ * in the evening).
78
+ *
79
+ * Two options also exist for generating an Event with the Hebrew date:
80
+ * * `options.addHebrewDates` - print the Hebrew date for the entire date range
81
+ * * `options.addHebrewDatesForEvents` - print the Hebrew date for dates with some events
82
+ *
83
+ * Lastly, translation and transliteration of event titles is controlled by
84
+ * `options.locale` and the {@link Locale} API.
85
+ * `@hebcal/core` supports three locales by default:
86
+ * * `en` - default, Sephardic transliterations (e.g. "Shabbat")
87
+ * * `ashkenazi` - Ashkenazi transliterations (e.g. "Shabbos")
88
+ * * `he` - Hebrew (e.g. "שַׁבָּת")
89
+ *
90
+ * Additional locales (such as `ru` or `fr`) are supported by the
91
+ * {@link https://github.com/hebcal/hebcal-locales @hebcal/locales} package
92
+ *
93
+ * @example
94
+ * import {HebrewCalendar, HDate, Location, Event} from '@hebcal/core';
95
+ * const options: CalOptions = {
96
+ * year: 1981,
97
+ * isHebrewYear: false,
98
+ * candlelighting: true,
99
+ * location: Location.lookup('San Francisco'),
100
+ * sedrot: true,
101
+ * omer: true,
102
+ * };
103
+ * const events = HebrewCalendar.calendar(options);
104
+ * for (const ev of events) {
105
+ * const hd = ev.getDate();
106
+ * const date = hd.greg();
107
+ * console.log(date.toLocaleDateString(), ev.render('en'), hd.toString());
108
+ * }
109
+ */
110
+ export declare function calendar(options?: CalOptions): Event[];