@hebcal/core 6.0.8 → 6.2.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.
- package/dist/bundle.js +2282 -1547
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +17 -19
- package/dist/bundle.min.js.map +1 -1
- package/dist/coverage/block-navigation.d.ts +1 -0
- package/dist/coverage/block-navigation.js +70 -0
- package/dist/coverage/prettify.d.ts +0 -0
- package/dist/coverage/prettify.js +477 -0
- package/dist/coverage/sorter.d.ts +1 -0
- package/dist/coverage/sorter.js +176 -0
- package/dist/eslint.config.d.mts +83 -0
- package/dist/eslint.config.mjs +28 -0
- package/dist/esm/DailyLearning.d.ts +1 -1
- package/dist/esm/DailyLearning.js +1 -1
- package/dist/esm/DailyLearning.js.map +1 -1
- package/dist/esm/HebrewDateEvent.js +5 -5
- package/dist/esm/HebrewDateEvent.js.map +1 -1
- package/dist/esm/HolidayEvent.d.ts +1 -0
- package/dist/esm/HolidayEvent.js +17 -1
- package/dist/esm/HolidayEvent.js.map +1 -1
- package/dist/esm/MevarchimChodeshEvent.js +2 -1
- package/dist/esm/MevarchimChodeshEvent.js.map +1 -1
- package/dist/esm/ParshaEvent.js +2 -1
- package/dist/esm/ParshaEvent.js.map +1 -1
- package/dist/esm/TimedEvent.js +9 -3
- package/dist/esm/TimedEvent.js.map +1 -1
- package/dist/esm/YomKippurKatanEvent.js +2 -1
- package/dist/esm/YomKippurKatanEvent.js.map +1 -1
- package/dist/esm/ashkenazi.po.d.ts +14 -2
- package/dist/esm/ashkenazi.po.js +2 -2
- package/dist/esm/ashkenazi.po.js.map +1 -1
- package/dist/esm/calendar.js +6 -8
- package/dist/esm/calendar.js.map +1 -1
- package/dist/esm/candles.js +11 -3
- package/dist/esm/candles.js.map +1 -1
- package/dist/esm/event.js +18 -1
- package/dist/esm/event.js.map +1 -1
- package/dist/esm/getStartAndEnd.js +2 -2
- package/dist/esm/getStartAndEnd.js.map +1 -1
- package/dist/esm/hallel.js +1 -1
- package/dist/esm/he-x-NoNikud.po.d.ts +2 -0
- package/dist/esm/he-x-NoNikud.po.js +2 -2
- package/dist/esm/he-x-NoNikud.po.js.map +1 -1
- package/dist/esm/he.po.d.ts +20 -0
- package/dist/esm/he.po.js +2 -2
- package/dist/esm/he.po.js.map +1 -1
- package/dist/esm/hebcal.js +3 -3
- package/dist/esm/hebcal.js.map +1 -1
- package/dist/esm/holidays.js +3 -3
- package/dist/esm/holidays.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/isAssurBemlacha.js +1 -1
- package/dist/esm/locale.d.ts +1 -2
- package/dist/esm/locale.js +1 -1
- package/dist/esm/locale.js.map +1 -1
- package/dist/esm/location.js +7 -1
- package/dist/esm/location.js.map +1 -1
- package/dist/esm/modern.js +1 -1
- package/dist/esm/molad.d.ts +71 -1
- package/dist/esm/molad.js +113 -12
- package/dist/esm/molad.js.map +1 -1
- package/dist/esm/moladBase.d.ts +15 -0
- package/dist/esm/moladBase.js +83 -0
- package/dist/esm/moladBase.js.map +1 -0
- package/dist/esm/moladDate.d.ts +12 -0
- package/dist/esm/moladDate.js +63 -0
- package/dist/esm/moladDate.js.map +1 -0
- package/dist/esm/omer.d.ts +0 -1
- package/dist/esm/omer.js +7 -4
- package/dist/esm/omer.js.map +1 -1
- package/dist/esm/parshaName.js +2 -2
- package/dist/esm/parshaName.js.map +1 -1
- package/dist/esm/parshaYear.js +1 -1
- package/dist/esm/pkgVersion.d.ts +1 -1
- package/dist/esm/pkgVersion.js +2 -2
- package/dist/esm/pkgVersion.js.map +1 -1
- package/dist/esm/reformatTimeStr.js +5 -6
- package/dist/esm/reformatTimeStr.js.map +1 -1
- package/dist/esm/sedra.js +13 -7
- package/dist/esm/sedra.js.map +1 -1
- package/dist/esm/staticHolidays.js +1 -1
- package/dist/esm/tachanun.js +4 -4
- package/dist/esm/tachanun.js.map +1 -1
- package/dist/esm/zmanim.d.ts +263 -2
- package/dist/esm/zmanim.js +431 -12
- package/dist/esm/zmanim.js.map +1 -1
- package/dist/po2json.js +3 -4
- package/dist/src/DailyLearning.d.ts +1 -1
- package/dist/src/HebrewDateEvent.js +4 -4
- package/dist/src/HolidayEvent.d.ts +1 -0
- package/dist/src/HolidayEvent.js +16 -0
- package/dist/src/MevarchimChodeshEvent.js +1 -0
- package/dist/src/ParshaEvent.js +1 -0
- package/dist/src/TimedEvent.js +8 -2
- package/dist/src/YomKippurKatanEvent.js +1 -0
- package/dist/src/ashkenazi.po.d.ts +14 -2
- package/dist/src/ashkenazi.po.js +1 -1
- package/dist/src/calendar.js +5 -7
- package/dist/src/candles.js +10 -2
- package/dist/src/event.js +17 -0
- package/dist/src/getStartAndEnd.js +1 -1
- package/dist/src/he-x-NoNikud.po.d.ts +2 -0
- package/dist/src/he-x-NoNikud.po.js +1 -1
- package/dist/src/he.po.d.ts +20 -0
- package/dist/src/he.po.js +1 -1
- package/dist/src/hebcal.js +2 -2
- package/dist/src/holidays.js +2 -2
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +2 -0
- package/dist/src/locale.d.ts +1 -2
- package/dist/src/locale.js +1 -1
- package/dist/src/location.js +6 -0
- package/dist/src/molad.d.ts +71 -1
- package/dist/src/molad.js +112 -11
- package/dist/src/moladBase.d.ts +15 -0
- package/dist/src/moladBase.js +78 -0
- package/dist/src/moladDate.d.ts +12 -0
- package/dist/src/moladDate.js +58 -0
- package/dist/src/omer.d.ts +0 -1
- package/dist/src/omer.js +6 -3
- package/dist/src/parshaName.js +1 -1
- package/dist/src/pkgVersion.d.ts +1 -1
- package/dist/src/pkgVersion.js +1 -1
- package/dist/src/reformatTimeStr.js +4 -5
- package/dist/src/sedra.js +12 -6
- package/dist/src/tachanun.js +3 -3
- package/dist/src/zmanim.d.ts +263 -2
- package/dist/src/zmanim.js +429 -10
- package/dist/version.js +1 -2
- package/package.json +17 -19
- package/dist/CalOptions.d.ts +0 -168
- package/dist/DailyLearning.d.ts +0 -32
- package/dist/HebrewDateEvent.d.ts +0 -37
- package/dist/HolidayEvent.d.ts +0 -83
- package/dist/MevarchimChodeshEvent.d.ts +0 -26
- package/dist/ParshaEvent.d.ts +0 -19
- package/dist/TimedEvent.d.ts +0 -47
- package/dist/YomKippurKatanEvent.d.ts +0 -23
- package/dist/ashkenazi.po.d.ts +0 -70
- package/dist/calendar.d.ts +0 -111
- package/dist/candles.d.ts +0 -44
- package/dist/event.d.ts +0 -188
- package/dist/getStartAndEnd.d.ts +0 -6
- package/dist/hallel.d.ts +0 -6
- package/dist/he-x-NoNikud.po.d.ts +0 -16
- package/dist/he.po.d.ts +0 -195
- package/dist/hebcal.d.ts +0 -260
- package/dist/holidays.d.ts +0 -22
- package/dist/index.d.ts +0 -26
- package/dist/isAssurBemlacha.d.ts +0 -9
- package/dist/locale.d.ts +0 -2
- package/dist/location.d.ts +0 -73
- package/dist/modern.d.ts +0 -18
- package/dist/molad.d.ts +0 -62
- package/dist/omer.d.ts +0 -53
- package/dist/parshaName.d.ts +0 -2
- package/dist/parshaYear.d.ts +0 -9
- package/dist/pkgVersion.d.ts +0 -2
- package/dist/reformatTimeStr.d.ts +0 -8
- package/dist/sedra.d.ts +0 -95
- package/dist/size-demo/dist/getHoliday.d.ts +0 -1944
- package/dist/size-demo/dist/getHoliday.js +0 -3712
- package/dist/size-demo/dist/parshiyot.js +0 -10662
- package/dist/size-demo/dist/sedra.d.ts +0 -1411
- package/dist/size-demo/dist/sedra.js +0 -2359
- package/dist/size-demo/dist/tachanun.d.ts +0 -1015
- package/dist/size-demo/dist/tachanun.js +0 -1755
- package/dist/size-demo/getHoliday.d.ts +0 -1
- package/dist/size-demo/getHoliday.js +0 -3
- package/dist/size-demo/parshiyot.d.ts +0 -1
- package/dist/size-demo/parshiyot.js +0 -11
- package/dist/size-demo/rollup.config.d.ts +0 -3
- package/dist/size-demo/rollup.config.js +0 -47
- package/dist/size-demo/sedra.d.ts +0 -1
- package/dist/size-demo/sedra.js +0 -3
- package/dist/size-demo/tachanun.d.ts +0 -1
- package/dist/size-demo/tachanun.js +0 -3
- package/dist/staticHolidays.d.ts +0 -176
- package/dist/tachanun.d.ts +0 -29
- package/dist/zmanim.d.ts +0 -347
package/dist/CalOptions.d.ts
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { HDate } from '@hebcal/hdate';
|
|
2
|
-
import type { Location } from './location';
|
|
3
|
-
export type DailyLearningValue = boolean | number | string;
|
|
4
|
-
/**
|
|
5
|
-
* Options to configure which events are returned
|
|
6
|
-
*/
|
|
7
|
-
export type CalOptions = {
|
|
8
|
-
/**
|
|
9
|
-
* latitude/longitude/tzid used for candle-lighting
|
|
10
|
-
*/
|
|
11
|
-
location?: Location;
|
|
12
|
-
/**
|
|
13
|
-
* Gregorian or Hebrew year
|
|
14
|
-
*/
|
|
15
|
-
year?: number;
|
|
16
|
-
/**
|
|
17
|
-
* to interpret year as Hebrew year
|
|
18
|
-
*/
|
|
19
|
-
isHebrewYear?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Gregorian or Hebrew month (to filter results to a single month)
|
|
22
|
-
*/
|
|
23
|
-
month?: number | string;
|
|
24
|
-
/**
|
|
25
|
-
* generate calendar for multiple years (default 1)
|
|
26
|
-
*/
|
|
27
|
-
numYears?: number;
|
|
28
|
-
/**
|
|
29
|
-
* use specific start date (requires end date)
|
|
30
|
-
*/
|
|
31
|
-
start?: number | HDate | Date;
|
|
32
|
-
/**
|
|
33
|
-
* use specific end date (requires start date)
|
|
34
|
-
*/
|
|
35
|
-
end?: number | HDate | Date;
|
|
36
|
-
/**
|
|
37
|
-
* calculate candle-lighting and havdalah times
|
|
38
|
-
*/
|
|
39
|
-
candlelighting?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* minutes before sundown to light candles (default 18)
|
|
42
|
-
*/
|
|
43
|
-
candleLightingMins?: number;
|
|
44
|
-
/**
|
|
45
|
-
* minutes after sundown for Havdalah (typical values are 42, 50, or 72).
|
|
46
|
-
* If `undefined` (the default), calculate Havdalah according to Tzeit Hakochavim -
|
|
47
|
-
* Nightfall (the point when 3 small stars are observable in the night time sky with
|
|
48
|
-
* the naked eye). If `0`, Havdalah times are suppressed.
|
|
49
|
-
*/
|
|
50
|
-
havdalahMins?: number;
|
|
51
|
-
/**
|
|
52
|
-
* degrees for solar depression for Havdalah.
|
|
53
|
-
* Default is 8.5 degrees for 3 small stars. use 7.083 degrees for 3 medium-sized stars
|
|
54
|
-
* (observed by Dr. Baruch (Berthold) Cohn in his luach published in France in 1899).
|
|
55
|
-
* If `0`, Havdalah times are suppressed.
|
|
56
|
-
*/
|
|
57
|
-
havdalahDeg?: number;
|
|
58
|
-
/**
|
|
59
|
-
* degrees for solar depression for end of fast days.
|
|
60
|
-
* Default is 7.083 degrees for 3 medium-sized stars. Other commonly-used values include
|
|
61
|
-
* 6.45 degrees, as calculated by Rabbi Yechiel Michel Tucazinsky.
|
|
62
|
-
*/
|
|
63
|
-
fastEndDeg?: number;
|
|
64
|
-
/**
|
|
65
|
-
* use elevation for calculations (default `false`).
|
|
66
|
-
* If `true`, use elevation to affect the calculation of all sunrise/sunset based zmanim.
|
|
67
|
-
* Note: there are some zmanim such as degree-based zmanim that are driven by the amount
|
|
68
|
-
* of light in the sky and are not impacted by elevation.
|
|
69
|
-
* These zmanim intentionally do not support elevation adjustment.
|
|
70
|
-
*/
|
|
71
|
-
useElevation?: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* calculate parashah hashavua on Saturdays
|
|
74
|
-
*/
|
|
75
|
-
sedrot?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Israeli holiday and sedra schedule
|
|
78
|
-
*/
|
|
79
|
-
il?: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* suppress minor fasts
|
|
82
|
-
*/
|
|
83
|
-
noMinorFast?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* suppress modern holidays
|
|
86
|
-
*/
|
|
87
|
-
noModern?: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* suppress Rosh Chodesh
|
|
90
|
-
*/
|
|
91
|
-
noRoshChodesh?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* add Shabbat Mevarchim
|
|
94
|
-
*/
|
|
95
|
-
shabbatMevarchim?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* suppress Special Shabbat
|
|
98
|
-
*/
|
|
99
|
-
noSpecialShabbat?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* suppress regular holidays
|
|
102
|
-
*/
|
|
103
|
-
noHolidays?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* include Days of the Omer
|
|
106
|
-
*/
|
|
107
|
-
omer?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* include event announcing the molad
|
|
110
|
-
*/
|
|
111
|
-
molad?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* use Ashkenazi transliterations for event titles (default Sephardi transliterations)
|
|
114
|
-
* @deprecated use `event.render('ashkenazi')` instead
|
|
115
|
-
*/
|
|
116
|
-
ashkenazi?: boolean;
|
|
117
|
-
/**
|
|
118
|
-
* translate event titles according to a locale
|
|
119
|
-
* Default value is `en`, also built-in are `he` and `ashkenazi`.
|
|
120
|
-
* Additional locales (such as `ru` or `fr`) are provided by the
|
|
121
|
-
* {@link https://github.com/hebcal/hebcal-locales @hebcal/locales} package
|
|
122
|
-
*/
|
|
123
|
-
locale?: string;
|
|
124
|
-
/**
|
|
125
|
-
* print the Hebrew date for the entire date range
|
|
126
|
-
*/
|
|
127
|
-
addHebrewDates?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* print the Hebrew date for dates with some events
|
|
130
|
-
*/
|
|
131
|
-
addHebrewDatesForEvents?: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* use bitmask from `flags` to filter events
|
|
134
|
-
*/
|
|
135
|
-
mask?: number;
|
|
136
|
-
/**
|
|
137
|
-
* include Yom Kippur Katan (default `false`).
|
|
138
|
-
* יוֹם כִּפּוּר קָטָן is a minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh.
|
|
139
|
-
* Yom Kippur Katan is omitted in Elul (on the day before Rosh Hashanah),
|
|
140
|
-
* Tishrei (Yom Kippur has just passed), Kislev (due to Chanukah)
|
|
141
|
-
* and Nisan (fasting not permitted during Nisan).
|
|
142
|
-
* When Rosh Chodesh occurs on Shabbat or Sunday, Yom Kippur Katan is observed on the preceding Thursday.
|
|
143
|
-
* See {@link https://en.wikipedia.org/wiki/Yom_Kippur_Katan#Practices Wikipedia Yom Kippur Katan practices}
|
|
144
|
-
*/
|
|
145
|
-
yomKippurKatan?: boolean;
|
|
146
|
-
/**
|
|
147
|
-
* Whether to use 12-hour time (as opposed to 24-hour time).
|
|
148
|
-
* Possible values are `true` and `false`; the default is locale dependent.
|
|
149
|
-
*/
|
|
150
|
-
hour12?: boolean;
|
|
151
|
-
/**
|
|
152
|
-
* map of options to enable daily study calendars
|
|
153
|
-
* such as `dafYomi`, `mishnaYomi`, `nachYomi` with value `true`. For `yerushalmi`
|
|
154
|
-
* the value should be a `number` for edition (`1` for Vilna, `2` for Schottenstein).
|
|
155
|
-
*/
|
|
156
|
-
dailyLearning?: Record<string, DailyLearningValue>;
|
|
157
|
-
/**
|
|
158
|
-
* Yizkor (Hebrew: יִזְכּוֹר) is an Ashkenazi Jewish memorial prayer service
|
|
159
|
-
* for the dead. Yizkor is recited in synagogue as part of the service
|
|
160
|
-
* during four holidays each year:
|
|
161
|
-
* 1. Yom Kippur
|
|
162
|
-
* 2. Shmini Atzeret
|
|
163
|
-
* 3. The final day of Passover (8th day Pesach in Diaspora, 7th day
|
|
164
|
-
* Pesach in Israel)
|
|
165
|
-
* 4. Shavuot (2nd day Shavuot in Diaspora)
|
|
166
|
-
*/
|
|
167
|
-
yizkor?: boolean;
|
|
168
|
-
};
|
package/dist/DailyLearning.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { HDate } from '@hebcal/hdate';
|
|
2
|
-
import { Event } from './event';
|
|
3
|
-
/**
|
|
4
|
-
* Plug-ins for daily learning calendars such as Daf Yomi, Mishna Yomi, Nach Yomi, etc.
|
|
5
|
-
*
|
|
6
|
-
* Learning schedules are provided by the `@hebcal/learning` package.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DailyLearning {
|
|
9
|
-
/**
|
|
10
|
-
* Register a new learning calendar.
|
|
11
|
-
* @param name case insensitive
|
|
12
|
-
* @param calendar a function that returns an `Event` or `null`
|
|
13
|
-
* @param startDate the first date for which this calendar is valid
|
|
14
|
-
*/
|
|
15
|
-
static addCalendar(name: string, calendar: Function, startDate?: HDate): void;
|
|
16
|
-
/**
|
|
17
|
-
* Returns an event from daily calendar for a given date. Returns `null` if there
|
|
18
|
-
* is no learning from this calendar on this date.
|
|
19
|
-
* @param name case insensitive
|
|
20
|
-
* @param hd Hebrew Date
|
|
21
|
-
* @param il true for Israel, false for Diaspora
|
|
22
|
-
*/
|
|
23
|
-
static lookup(name: string, hd: HDate, il: boolean): Event | null;
|
|
24
|
-
static getStartDate(name: string): HDate | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Tests to see if learning calendar has been registered
|
|
27
|
-
* @param name case insensitive
|
|
28
|
-
*/
|
|
29
|
-
static has(name: string): boolean;
|
|
30
|
-
/** Returns the names of all calendars registered */
|
|
31
|
-
static getCalendars(): string[];
|
|
32
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { HDate } from '@hebcal/hdate';
|
|
2
|
-
import { Event } from './event';
|
|
3
|
-
import './locale';
|
|
4
|
-
/** Daily Hebrew date ("11th of Sivan, 5780") */
|
|
5
|
-
export declare class HebrewDateEvent extends Event {
|
|
6
|
-
/**
|
|
7
|
-
* @param date
|
|
8
|
-
*/
|
|
9
|
-
constructor(date: HDate);
|
|
10
|
-
/**
|
|
11
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
12
|
-
* @example
|
|
13
|
-
* import {HDate, HebrewDateEvent, months} from '@hebcal/core';
|
|
14
|
-
*
|
|
15
|
-
* const hd = new HDate(15, months.CHESHVAN, 5769);
|
|
16
|
-
* const ev = new HebrewDateEvent(hd);
|
|
17
|
-
* console.log(ev.render('en')); // '15th of Cheshvan, 5769'
|
|
18
|
-
* console.log(ev.render('he')); // 'ט״ו חֶשְׁוָן תשס״ט'
|
|
19
|
-
*/
|
|
20
|
-
render(locale?: string): string;
|
|
21
|
-
/**
|
|
22
|
-
* @private
|
|
23
|
-
* @param locale
|
|
24
|
-
*/
|
|
25
|
-
private renderBriefHebrew;
|
|
26
|
-
/**
|
|
27
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
28
|
-
* @example
|
|
29
|
-
* import {HDate, HebrewDateEvent, months} from '@hebcal/core';
|
|
30
|
-
*
|
|
31
|
-
* const hd = new HDate(15, months.CHESHVAN, 5769);
|
|
32
|
-
* const ev = new HebrewDateEvent(hd);
|
|
33
|
-
* console.log(ev.renderBrief()); // '15th of Cheshvan'
|
|
34
|
-
* console.log(ev.renderBrief('he')); // 'ט״ו חֶשְׁוָן'
|
|
35
|
-
*/
|
|
36
|
-
renderBrief(locale?: string): string;
|
|
37
|
-
}
|
package/dist/HolidayEvent.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { HDate } from '@hebcal/hdate';
|
|
2
|
-
import { Event } from './event';
|
|
3
|
-
import './locale';
|
|
4
|
-
/** Represents a built-in holiday like Pesach, Purim or Tu BiShvat */
|
|
5
|
-
export declare class HolidayEvent extends Event {
|
|
6
|
-
/** During Sukkot or Pesach */
|
|
7
|
-
cholHaMoedDay?: number;
|
|
8
|
-
/**
|
|
9
|
-
* `true` if the fast day was postponed a day to avoid Shabbat.
|
|
10
|
-
* - Tish'a B'Av postponed from the 9th to the 10th
|
|
11
|
-
* - Tzom Tammuz postponed from the 17th to the 18th
|
|
12
|
-
*/
|
|
13
|
-
observed?: boolean;
|
|
14
|
-
basename(): string;
|
|
15
|
-
url(): string | undefined;
|
|
16
|
-
urlDateSuffix(): string;
|
|
17
|
-
getEmoji(): string;
|
|
18
|
-
getCategories(): string[];
|
|
19
|
-
/**
|
|
20
|
-
* Returns (translated) description of this event
|
|
21
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
22
|
-
*/
|
|
23
|
-
render(locale?: string): string;
|
|
24
|
-
/**
|
|
25
|
-
* Returns a brief (translated) description of this event.
|
|
26
|
-
* For most events, this is the same as render(). For some events, it procudes
|
|
27
|
-
* a shorter text (e.g. without a time or added description).
|
|
28
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
29
|
-
*/
|
|
30
|
-
renderBrief(locale?: string): string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Because Asara B'Tevet often occurs twice in the same Gregorian year,
|
|
34
|
-
* we subclass HolidayEvent to generate the correct URL.
|
|
35
|
-
*/
|
|
36
|
-
export declare class AsaraBTevetEvent extends HolidayEvent {
|
|
37
|
-
urlDateSuffix(): string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Because Chanukah sometimes starts in December and ends in January,
|
|
41
|
-
* we subclass HolidayEvent to generate the correct URL.
|
|
42
|
-
*/
|
|
43
|
-
export declare class ChanukahEvent extends HolidayEvent {
|
|
44
|
-
readonly chanukahDay?: number;
|
|
45
|
-
/**
|
|
46
|
-
* @param chanukahDay should be undefined for 1st night of Chanukah
|
|
47
|
-
*/
|
|
48
|
-
constructor(date: HDate, desc: string, mask: number, chanukahDay?: number);
|
|
49
|
-
urlDateSuffix(): string;
|
|
50
|
-
}
|
|
51
|
-
/** Represents Rosh Hashana, the Jewish New Year */
|
|
52
|
-
export declare class RoshHashanaEvent extends HolidayEvent {
|
|
53
|
-
private readonly hyear;
|
|
54
|
-
/**
|
|
55
|
-
* @private
|
|
56
|
-
* @param date Hebrew date event occurs
|
|
57
|
-
* @param hyear Hebrew year
|
|
58
|
-
* @param mask optional holiday flags
|
|
59
|
-
*/
|
|
60
|
-
constructor(date: HDate, hyear: number, mask: number);
|
|
61
|
-
/**
|
|
62
|
-
* Returns (translated) description of this event
|
|
63
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
64
|
-
*/
|
|
65
|
-
render(locale?: string): string;
|
|
66
|
-
getEmoji(): string;
|
|
67
|
-
}
|
|
68
|
-
/** Represents Rosh Chodesh, the beginning of a new month */
|
|
69
|
-
export declare class RoshChodeshEvent extends HolidayEvent {
|
|
70
|
-
/**
|
|
71
|
-
* Constructs Rosh Chodesh event
|
|
72
|
-
* @param date Hebrew date event occurs
|
|
73
|
-
* @param monthName Hebrew month name (not translated)
|
|
74
|
-
*/
|
|
75
|
-
constructor(date: HDate, monthName: string);
|
|
76
|
-
/**
|
|
77
|
-
* Returns (translated) description of this event
|
|
78
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
79
|
-
*/
|
|
80
|
-
render(locale?: string): string;
|
|
81
|
-
basename(): string;
|
|
82
|
-
getEmoji(): string;
|
|
83
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { HDate } from '@hebcal/hdate';
|
|
2
|
-
import { Event } from './event';
|
|
3
|
-
import './locale';
|
|
4
|
-
/** Represents Mevarchim haChodesh, the announcement of the new month */
|
|
5
|
-
export declare class MevarchimChodeshEvent extends Event {
|
|
6
|
-
readonly monthName: string;
|
|
7
|
-
/**
|
|
8
|
-
* Constructs Mevarchim haChodesh event
|
|
9
|
-
* @param date Hebrew date event occurs
|
|
10
|
-
* @param monthName Hebrew month name (not translated)
|
|
11
|
-
* @param [memo]
|
|
12
|
-
* @param locale Optional locale name
|
|
13
|
-
*/
|
|
14
|
-
constructor(date: HDate, monthName: string, memo: string, locale?: string);
|
|
15
|
-
basename(): string;
|
|
16
|
-
/**
|
|
17
|
-
* Returns (translated) description of this event
|
|
18
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
19
|
-
*/
|
|
20
|
-
render(locale?: string): string;
|
|
21
|
-
/**
|
|
22
|
-
* Returns (translated) description of this event
|
|
23
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
24
|
-
*/
|
|
25
|
-
renderBrief(locale?: string): string;
|
|
26
|
-
}
|
package/dist/ParshaEvent.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Event } from './event';
|
|
2
|
-
import { SedraResult } from './sedra';
|
|
3
|
-
import './locale';
|
|
4
|
-
/**
|
|
5
|
-
* Represents one of 54 weekly Torah portions, always on a Saturday
|
|
6
|
-
*/
|
|
7
|
-
export declare class ParshaEvent extends Event {
|
|
8
|
-
readonly p: SedraResult;
|
|
9
|
-
constructor(parsha: SedraResult);
|
|
10
|
-
/**
|
|
11
|
-
* @param [locale] Optional locale name (i.e: `'he'`, `'fr'`). Defaults to empty locale.
|
|
12
|
-
*/
|
|
13
|
-
render(locale?: string): string;
|
|
14
|
-
basename(): string;
|
|
15
|
-
url(): string | undefined;
|
|
16
|
-
urlDateSuffix(): string;
|
|
17
|
-
/** convenience function for compatibility with previous implementation */
|
|
18
|
-
get parsha(): string[];
|
|
19
|
-
}
|
package/dist/TimedEvent.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { HDate } from '@hebcal/hdate';
|
|
2
|
-
import { CalOptions } from './CalOptions';
|
|
3
|
-
import { Location } from './location';
|
|
4
|
-
import { Event } from './event';
|
|
5
|
-
import './locale';
|
|
6
|
-
/** An event that has an `eventTime` and `eventTimeStr` */
|
|
7
|
-
export declare class TimedEvent extends Event {
|
|
8
|
-
readonly eventTime: Date;
|
|
9
|
-
readonly location: Location;
|
|
10
|
-
readonly eventTimeStr: string;
|
|
11
|
-
readonly fmtTime: string;
|
|
12
|
-
readonly linkedEvent?: Event;
|
|
13
|
-
/**
|
|
14
|
-
* @param desc Description (not translated)
|
|
15
|
-
*/
|
|
16
|
-
constructor(date: HDate, desc: string, mask: number, eventTime: Date, location: Location, linkedEvent?: Event, options?: CalOptions);
|
|
17
|
-
/**
|
|
18
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
19
|
-
*/
|
|
20
|
-
render(locale?: string): string;
|
|
21
|
-
/**
|
|
22
|
-
* Returns translation of "Candle lighting" without the time.
|
|
23
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
24
|
-
*/
|
|
25
|
-
renderBrief(locale?: string): string;
|
|
26
|
-
getCategories(): string[];
|
|
27
|
-
}
|
|
28
|
-
/** Candle lighting before Shabbat or holiday */
|
|
29
|
-
export declare class CandleLightingEvent extends TimedEvent {
|
|
30
|
-
constructor(date: HDate, mask: number, eventTime: Date, location: Location, linkedEvent?: Event, options?: CalOptions);
|
|
31
|
-
getEmoji(): string;
|
|
32
|
-
}
|
|
33
|
-
/** Havdalah after Shabbat or holiday */
|
|
34
|
-
export declare class HavdalahEvent extends TimedEvent {
|
|
35
|
-
private readonly havdalahMins?;
|
|
36
|
-
constructor(date: HDate, mask: number, eventTime: Date, location: Location, havdalahMins?: number, linkedEvent?: Event, options?: CalOptions);
|
|
37
|
-
/**
|
|
38
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
39
|
-
*/
|
|
40
|
-
render(locale?: string): string;
|
|
41
|
-
/**
|
|
42
|
-
* Returns translation of "Havdalah" without the time.
|
|
43
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
44
|
-
*/
|
|
45
|
-
renderBrief(locale?: string): string;
|
|
46
|
-
getEmoji(): string;
|
|
47
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { HDate } from '@hebcal/hdate';
|
|
2
|
-
import { HolidayEvent } from './HolidayEvent';
|
|
3
|
-
import './locale';
|
|
4
|
-
/** YKK is minor day of atonement on the day preceeding each Rosh Chodesh */
|
|
5
|
-
export declare class YomKippurKatanEvent extends HolidayEvent {
|
|
6
|
-
private readonly nextMonthName;
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
* @param date Hebrew date event occurs
|
|
10
|
-
* @param nextMonthName name of the upcoming month
|
|
11
|
-
*/
|
|
12
|
-
constructor(date: HDate, nextMonthName: string);
|
|
13
|
-
basename(): string;
|
|
14
|
-
/**
|
|
15
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
16
|
-
*/
|
|
17
|
-
render(locale?: string): string;
|
|
18
|
-
/**
|
|
19
|
-
* @param [locale] Optional locale name (defaults to empty locale)
|
|
20
|
-
*/
|
|
21
|
-
renderBrief(locale?: string): string;
|
|
22
|
-
url(): string | undefined;
|
|
23
|
-
}
|
package/dist/ashkenazi.po.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
headers: {
|
|
3
|
-
"plural-forms": string;
|
|
4
|
-
language: string;
|
|
5
|
-
};
|
|
6
|
-
contexts: {
|
|
7
|
-
"": {
|
|
8
|
-
Shabbat: string[];
|
|
9
|
-
"Achrei Mot": string[];
|
|
10
|
-
Bechukotai: string[];
|
|
11
|
-
"Beha'alotcha": string[];
|
|
12
|
-
Bereshit: string[];
|
|
13
|
-
Chukat: string[];
|
|
14
|
-
"Erev Shavuot": string[];
|
|
15
|
-
"Erev Sukkot": string[];
|
|
16
|
-
"Ki Tavo": string[];
|
|
17
|
-
"Ki Teitzei": string[];
|
|
18
|
-
"Ki Tisa": string[];
|
|
19
|
-
Matot: string[];
|
|
20
|
-
"Pesach Shabbat Chol ha-Moed": string[];
|
|
21
|
-
"Purim Katan": string[];
|
|
22
|
-
"Shabbat Chazon": string[];
|
|
23
|
-
"Shabbat HaChodesh": string[];
|
|
24
|
-
"Shabbat HaGadol": string[];
|
|
25
|
-
"Shabbat Nachamu": string[];
|
|
26
|
-
"Shabbat Parah": string[];
|
|
27
|
-
"Shabbat Shekalim": string[];
|
|
28
|
-
"Shabbat Shuva": string[];
|
|
29
|
-
"Shabbat Zachor": string[];
|
|
30
|
-
Shavuot: string[];
|
|
31
|
-
"Shavuot I": string[];
|
|
32
|
-
"Shavuot II": string[];
|
|
33
|
-
Shemot: string[];
|
|
34
|
-
"Shmini Atzeret": string[];
|
|
35
|
-
"Simchat Torah": string[];
|
|
36
|
-
Sukkot: string[];
|
|
37
|
-
"Sukkot I": string[];
|
|
38
|
-
"Sukkot II": string[];
|
|
39
|
-
"Sukkot II (CH''M)": string[];
|
|
40
|
-
"Sukkot III (CH''M)": string[];
|
|
41
|
-
"Sukkot IV (CH''M)": string[];
|
|
42
|
-
"Sukkot V (CH''M)": string[];
|
|
43
|
-
"Sukkot VI (CH''M)": string[];
|
|
44
|
-
"Sukkot VII (Hoshana Raba)": string[];
|
|
45
|
-
"Sukkot Shabbat Chol ha-Moed": string[];
|
|
46
|
-
"Ta'anit Bechorot": string[];
|
|
47
|
-
"Ta'anit Esther": string[];
|
|
48
|
-
Toldot: string[];
|
|
49
|
-
Vaetchanan: string[];
|
|
50
|
-
Yitro: string[];
|
|
51
|
-
"Vezot Haberakhah": string[];
|
|
52
|
-
Parashat: string[];
|
|
53
|
-
"Leil Selichot": string[];
|
|
54
|
-
"Shabbat Mevarchim Chodesh": string[];
|
|
55
|
-
"Shabbat Shirah": string[];
|
|
56
|
-
"Asara B'Tevet": string[];
|
|
57
|
-
"Alot HaShachar": string[];
|
|
58
|
-
"Kriat Shema, sof zeman": string[];
|
|
59
|
-
"Tefilah, sof zeman": string[];
|
|
60
|
-
"Kriat Shema, sof zeman (MGA)": string[];
|
|
61
|
-
"Tefilah, sof zeman (MGA)": string[];
|
|
62
|
-
"Chatzot HaLailah": string[];
|
|
63
|
-
"Chatzot hayom": string[];
|
|
64
|
-
"Tzeit HaKochavim": string[];
|
|
65
|
-
"Birkat Hachamah": string[];
|
|
66
|
-
"Shushan Purim Katan": string[];
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
export default _default;
|
package/dist/calendar.d.ts
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
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
|
-
* * Yizkor (`options.yizkor`)
|
|
38
|
-
*
|
|
39
|
-
* Daily Study of texts are supported by the
|
|
40
|
-
* {@link https://github.com/hebcal/hebcal-learning @hebcal/learning} package,
|
|
41
|
-
* for example:
|
|
42
|
-
* * Babylonian Talmud Daf Yomi (`options.dailyLearning.dafYomi`)
|
|
43
|
-
* * Jerusalem Talmud (Yerushalmi) Yomi (`options.dailyLearning.yerushalmi`)
|
|
44
|
-
* * Mishna Yomi (`options.dailyLearning.mishnaYomi`)
|
|
45
|
-
* * Nach Yomi (`options.dailyLearning.nachYomi`)
|
|
46
|
-
*
|
|
47
|
-
* Candle-lighting and Havdalah times are approximated using latitude and longitude
|
|
48
|
-
* specified by the {@link Location} class. The `Location` class contains a small
|
|
49
|
-
* database of cities with their associated geographic information and time-zone information.
|
|
50
|
-
* If you ever have any doubts about Hebcal's times, consult your local halachic authority.
|
|
51
|
-
* If you enter geographic coordinates above the arctic circle or antarctic circle,
|
|
52
|
-
* the times are guaranteed to be wrong.
|
|
53
|
-
*
|
|
54
|
-
* To add candle-lighting options, set `options.candlelighting=true` and set
|
|
55
|
-
* `options.location` to an instance of `Location`. By default, candle lighting
|
|
56
|
-
* time is 18 minutes before sundown (40 minutes for Jerusalem,
|
|
57
|
-
* 30 minutes for Haifa and Zikhron Ya'akov) and Havdalah is
|
|
58
|
-
* calculated according to Tzeit Hakochavim - Nightfall (the point when 3 small stars
|
|
59
|
-
* are observable in the night time sky with the naked eye). The default Havdalah
|
|
60
|
-
* option (Tzeit Hakochavim) is calculated when the sun is 8.5° below the horizon.
|
|
61
|
-
* These defaults can be changed using these options:
|
|
62
|
-
* * `options.candleLightingMins` - minutes before sundown to light candles
|
|
63
|
-
* * `options.havdalahMins` - minutes after sundown for Havdalah (typical values are 42, 50, or 72).
|
|
64
|
-
* Havdalah times are suppressed when `options.havdalahMins=0`.
|
|
65
|
-
* * `options.havdalahDeg` - degrees for solar depression for Havdalah.
|
|
66
|
-
* Default is 8.5 degrees for 3 small stars. Use 7.083 degrees for 3 medium-sized stars.
|
|
67
|
-
* Havdalah times are suppressed when `options.havdalahDeg=0`.
|
|
68
|
-
*
|
|
69
|
-
* If both `options.candlelighting=true` and `options.location` is specified,
|
|
70
|
-
* Chanukah candle-lighting times and minor fast start/end times will also be generated.
|
|
71
|
-
* Chanukah candle-lighting is at Bein HaShmashos (13.5 minutes before
|
|
72
|
-
* the sun is 7.083° below the horizon in the evening)
|
|
73
|
-
* on weekdays, at regular candle-lighting time on Fridays, and at regular Havdalah time on
|
|
74
|
-
* Saturday night (see above).
|
|
75
|
-
*
|
|
76
|
-
* Minor fasts begin at Alot HaShachar (sun is 16.1° below the horizon in the morning) and
|
|
77
|
-
* end when 3 medium-sized stars are observable in the night sky (sun is 7.083° below the horizon
|
|
78
|
-
* in the evening).
|
|
79
|
-
*
|
|
80
|
-
* Two options also exist for generating an Event with the Hebrew date:
|
|
81
|
-
* * `options.addHebrewDates` - print the Hebrew date for the entire date range
|
|
82
|
-
* * `options.addHebrewDatesForEvents` - print the Hebrew date for dates with some events
|
|
83
|
-
*
|
|
84
|
-
* Lastly, translation and transliteration of event titles is controlled by
|
|
85
|
-
* `options.locale` and the {@link Locale} API.
|
|
86
|
-
* `@hebcal/core` supports three locales by default:
|
|
87
|
-
* * `en` - default, Sephardic transliterations (e.g. "Shabbat")
|
|
88
|
-
* * `ashkenazi` - Ashkenazi transliterations (e.g. "Shabbos")
|
|
89
|
-
* * `he` - Hebrew (e.g. "שַׁבָּת")
|
|
90
|
-
*
|
|
91
|
-
* Additional locales (such as `ru` or `fr`) are supported by the
|
|
92
|
-
* {@link https://github.com/hebcal/hebcal-locales @hebcal/locales} package
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* import {HebrewCalendar, HDate, Location, Event} from '@hebcal/core';
|
|
96
|
-
* const options: CalOptions = {
|
|
97
|
-
* year: 1981,
|
|
98
|
-
* isHebrewYear: false,
|
|
99
|
-
* candlelighting: true,
|
|
100
|
-
* location: Location.lookup('San Francisco'),
|
|
101
|
-
* sedrot: true,
|
|
102
|
-
* omer: true,
|
|
103
|
-
* };
|
|
104
|
-
* const events = HebrewCalendar.calendar(options);
|
|
105
|
-
* for (const ev of events) {
|
|
106
|
-
* const hd = ev.getDate();
|
|
107
|
-
* const date = hd.greg();
|
|
108
|
-
* console.log(date.toLocaleDateString(), ev.render('en'), hd.toString());
|
|
109
|
-
* }
|
|
110
|
-
*/
|
|
111
|
-
export declare function calendar(options?: CalOptions): Event[];
|
package/dist/candles.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { HDate } from '@hebcal/hdate';
|
|
2
|
-
import { CalOptions } from './CalOptions';
|
|
3
|
-
import { Location } from './location';
|
|
4
|
-
import { Event } from './event';
|
|
5
|
-
import { ChanukahEvent, HolidayEvent } from './HolidayEvent';
|
|
6
|
-
import { TimedEvent } from './TimedEvent';
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
|
-
export declare function makeCandleEvent(ev: Event | undefined, hd: HDate, options: CalOptions, isFriday: boolean, isSaturday: boolean): TimedEvent | undefined;
|
|
11
|
-
/** A fast day also contains a start and end time */
|
|
12
|
-
export declare class FastDayEvent extends HolidayEvent {
|
|
13
|
-
/** original event */
|
|
14
|
-
readonly linkedEvent: HolidayEvent;
|
|
15
|
-
/** this will be a "Fast begins" event */
|
|
16
|
-
readonly startEvent?: TimedEvent;
|
|
17
|
-
/** this will be a "Fast ends" event */
|
|
18
|
-
readonly endEvent?: TimedEvent;
|
|
19
|
-
constructor(linkedEvent: HolidayEvent, startEvent?: TimedEvent, endEvent?: TimedEvent);
|
|
20
|
-
render(locale?: string): string;
|
|
21
|
-
renderBrief(locale?: string): string;
|
|
22
|
-
urlDateSuffix(): string;
|
|
23
|
-
url(): string | undefined;
|
|
24
|
-
getEmoji(): string;
|
|
25
|
-
getCategories(): string[];
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Makes a pair of events representing fast start and end times
|
|
29
|
-
* @private
|
|
30
|
-
*/
|
|
31
|
-
export declare function makeFastStartEnd(ev: HolidayEvent, options: CalOptions): FastDayEvent;
|
|
32
|
-
export declare class TimedChanukahEvent extends ChanukahEvent {
|
|
33
|
-
eventTime: Date;
|
|
34
|
-
eventTimeStr: string;
|
|
35
|
-
readonly location: Location;
|
|
36
|
-
constructor(ev: ChanukahEvent, eventTime: Date, location: Location);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Makes a candle-lighting event for Chankah (not on Friday/Saturday).
|
|
40
|
-
* At one point this used civil dusk (6 degrees below horizon).
|
|
41
|
-
* Another source suggests 4.6667 degrees below horizon.
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
export declare function makeWeekdayChanukahCandleLighting(ev: ChanukahEvent, options: CalOptions): TimedChanukahEvent | null;
|