@hebcal/core 5.3.12 → 5.4.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/README.md +251 -173
- package/dist/DailyLearning.d.ts +22 -0
- package/dist/HebrewDateEvent.d.ts +14 -0
- package/dist/ParshaEvent.d.ts +19 -0
- package/dist/ashkenazi.po.d.ts +68 -0
- package/dist/bundle.js +11621 -11437
- package/dist/bundle.min.js +2 -2
- package/dist/candles.d.ts +74 -0
- package/dist/dateFormat.d.ts +33 -0
- package/dist/event.d.ts +144 -0
- package/dist/hallel.d.ts +7 -0
- package/dist/hdate.d.ts +395 -0
- package/dist/he.po.d.ts +306 -0
- package/dist/hebcal.d.ts +451 -0
- package/dist/holidays.d.ts +65 -0
- package/dist/index.cjs +1837 -1947
- package/dist/index.d.ts +18 -0
- package/dist/index.mjs +1838 -1948
- package/dist/locale-ashkenazi.d.ts +1 -0
- package/dist/locale-he.d.ts +1 -0
- package/dist/locale.d.ts +80 -0
- package/dist/location.d.ts +85 -0
- package/dist/modern.d.ts +20 -0
- package/dist/molad.d.ts +65 -0
- package/dist/omer.d.ts +26 -0
- package/dist/pkgVersion.d.ts +1 -0
- package/dist/reformatTimeStr.d.ts +8 -0
- package/dist/sedra.d.ts +8 -0
- package/dist/staticHolidays.d.ts +212 -0
- package/dist/staticHols.d.ts +175 -0
- package/dist/tachanun.d.ts +8 -0
- package/dist/throwTypeError.d.ts +5 -0
- package/dist/zmanim.d.ts +321 -0
- package/package.json +17 -14
- package/hebcal.d.ts +0 -1361
- package/po/ashkenazi.po +0 -195
- package/po/he.min.po +0 -50
- package/po/he.po +0 -931
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/locale.d.ts
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A locale in Hebcal is used for translations/transliterations of
|
|
3
|
+
* holidays. `@hebcal/core` supports four locales by default
|
|
4
|
+
* * `en` - default, Sephardic transliterations (e.g. "Shabbat")
|
|
5
|
+
* * `ashkenazi` - Ashkenazi transliterations (e.g. "Shabbos")
|
|
6
|
+
* * `he` - Hebrew (e.g. "שַׁבָּת")
|
|
7
|
+
* * `he-x-NoNikud` - Hebrew without nikud (e.g. "שבת")
|
|
8
|
+
*/
|
|
9
|
+
export class Locale {
|
|
10
|
+
/**
|
|
11
|
+
* Returns translation only if `locale` offers a non-empty translation for `id`.
|
|
12
|
+
* Otherwise, returns `undefined`.
|
|
13
|
+
* @param {string} id Message ID to translate
|
|
14
|
+
* @param {string} [locale] Optional locale name (i.e: `'he'`, `'fr'`). Defaults to active locale.
|
|
15
|
+
* @return {string | undefined}
|
|
16
|
+
*/
|
|
17
|
+
static lookupTranslation(id: string, locale?: string | undefined): string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* By default, if no translation was found, returns `id`.
|
|
20
|
+
* @param {string} id Message ID to translate
|
|
21
|
+
* @param {string} [locale] Optional locale name (i.e: `'he'`, `'fr'`). Defaults to active locale.
|
|
22
|
+
* @return {string}
|
|
23
|
+
*/
|
|
24
|
+
static gettext(id: string, locale?: string | undefined): string;
|
|
25
|
+
/**
|
|
26
|
+
* Register locale translations.
|
|
27
|
+
* @param {string} locale Locale name (i.e.: `'he'`, `'fr'`)
|
|
28
|
+
* @param {LocaleData} data parsed data from a `.po` file.
|
|
29
|
+
*/
|
|
30
|
+
static addLocale(locale: string, data: LocaleData): void;
|
|
31
|
+
/**
|
|
32
|
+
* Adds a translation to `locale`, replacing any previous translation.
|
|
33
|
+
* @param {string} locale Locale name (i.e: `'he'`, `'fr'`).
|
|
34
|
+
* @param {string} id Message ID to translate
|
|
35
|
+
* @param {string} translation Translation text
|
|
36
|
+
*/
|
|
37
|
+
static addTranslation(locale: string, id: string, translation: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* Adds multiple translations to `locale`, replacing any previous translations.
|
|
40
|
+
* @param {string} locale Locale name (i.e: `'he'`, `'fr'`).
|
|
41
|
+
* @param {LocaleData} data parsed data from a `.po` file.
|
|
42
|
+
*/
|
|
43
|
+
static addTranslations(locale: string, data: LocaleData): void;
|
|
44
|
+
/**
|
|
45
|
+
* Activates a locale. Throws an error if the locale has not been previously added.
|
|
46
|
+
* After setting the locale to be used, all strings marked for translations
|
|
47
|
+
* will be represented by the corresponding translation in the specified locale.
|
|
48
|
+
* @param {string} locale Locale name (i.e: `'he'`, `'fr'`)
|
|
49
|
+
* @return {LocaleData}
|
|
50
|
+
*/
|
|
51
|
+
static useLocale(locale: string): LocaleData;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the name of the active locale (i.e. 'he', 'ashkenazi', 'fr')
|
|
54
|
+
* @return {string}
|
|
55
|
+
*/
|
|
56
|
+
static getLocaleName(): string;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the names of registered locales
|
|
59
|
+
* @return {string[]}
|
|
60
|
+
*/
|
|
61
|
+
static getLocaleNames(): string[];
|
|
62
|
+
/**
|
|
63
|
+
* @param {number} n
|
|
64
|
+
* @param {string} [locale] Optional locale name (i.e: `'he'`, `'fr'`). Defaults to active locale.
|
|
65
|
+
* @return {string}
|
|
66
|
+
*/
|
|
67
|
+
static ordinal(n: number, locale?: string | undefined): string;
|
|
68
|
+
/**
|
|
69
|
+
* @private
|
|
70
|
+
* @param {number} n
|
|
71
|
+
* @return {string}
|
|
72
|
+
*/
|
|
73
|
+
private static getEnOrdinal;
|
|
74
|
+
/**
|
|
75
|
+
* Removes nekudot from Hebrew string
|
|
76
|
+
* @param {string} str
|
|
77
|
+
* @return {string}
|
|
78
|
+
*/
|
|
79
|
+
static hebrewStripNikkud(str: string): string;
|
|
80
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/** Class representing Location */
|
|
2
|
+
export class Location extends GeoLocation {
|
|
3
|
+
/**
|
|
4
|
+
* Creates a location object from one of 60 "classic" Hebcal city names.
|
|
5
|
+
* The following city names are supported:
|
|
6
|
+
* 'Ashdod', 'Atlanta', 'Austin', 'Baghdad', 'Beer Sheva',
|
|
7
|
+
* 'Berlin', 'Baltimore', 'Bogota', 'Boston', 'Budapest',
|
|
8
|
+
* 'Buenos Aires', 'Buffalo', 'Chicago', 'Cincinnati', 'Cleveland',
|
|
9
|
+
* 'Dallas', 'Denver', 'Detroit', 'Eilat', 'Gibraltar', 'Haifa',
|
|
10
|
+
* 'Hawaii', 'Helsinki', 'Houston', 'Jerusalem', 'Johannesburg',
|
|
11
|
+
* 'Kiev', 'La Paz', 'Livingston', 'Las Vegas', 'London', 'Los Angeles',
|
|
12
|
+
* 'Marseilles', 'Miami', 'Minneapolis', 'Melbourne', 'Mexico City',
|
|
13
|
+
* 'Montreal', 'Moscow', 'New York', 'Omaha', 'Ottawa', 'Panama City',
|
|
14
|
+
* 'Paris', 'Pawtucket', 'Petach Tikvah', 'Philadelphia', 'Phoenix',
|
|
15
|
+
* 'Pittsburgh', 'Providence', 'Portland', 'Saint Louis', 'Saint Petersburg',
|
|
16
|
+
* 'San Diego', 'San Francisco', 'Sao Paulo', 'Seattle', 'Sydney',
|
|
17
|
+
* 'Tel Aviv', 'Tiberias', 'Toronto', 'Vancouver', 'White Plains',
|
|
18
|
+
* 'Washington DC', 'Worcester'
|
|
19
|
+
* @param {string} name
|
|
20
|
+
* @return {Location}
|
|
21
|
+
*/
|
|
22
|
+
static lookup(name: string): Location;
|
|
23
|
+
/**
|
|
24
|
+
* Converts legacy Hebcal timezone to a standard Olson tzid.
|
|
25
|
+
* @param {number} tz integer, GMT offset in hours
|
|
26
|
+
* @param {string} dst 'none', 'eu', 'usa', or 'israel'
|
|
27
|
+
* @return {string}
|
|
28
|
+
*/
|
|
29
|
+
static legacyTzToTzid(tz: number, dst: string): string;
|
|
30
|
+
/**
|
|
31
|
+
* Converts timezone info from Zip-Codes.com to a standard Olson tzid.
|
|
32
|
+
* @example
|
|
33
|
+
* Location.getUsaTzid('AZ', 7, 'Y') // 'America/Denver'
|
|
34
|
+
* @param {string} state two-letter all-caps US state abbreviation like 'CA'
|
|
35
|
+
* @param {number} tz positive number, 5=America/New_York, 8=America/Los_Angeles
|
|
36
|
+
* @param {string} dst single char 'Y' or 'N'
|
|
37
|
+
* @return {string}
|
|
38
|
+
*/
|
|
39
|
+
static getUsaTzid(state: string, tz: number, dst: string): string;
|
|
40
|
+
/**
|
|
41
|
+
* Adds a location name for `Location.lookup()` only if the name isn't
|
|
42
|
+
* already being used. Returns `false` if the name is already taken
|
|
43
|
+
* and `true` if successfully added.
|
|
44
|
+
* @param {string} cityName
|
|
45
|
+
* @param {Location} location
|
|
46
|
+
* @return {boolean}
|
|
47
|
+
*/
|
|
48
|
+
static addLocation(cityName: string, location: Location): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Initialize a Location instance
|
|
51
|
+
* @param {number} latitude - Latitude as a decimal, valid range -90 thru +90 (e.g. 41.85003)
|
|
52
|
+
* @param {number} longitude - Longitude as a decimal, valid range -180 thru +180 (e.g. -87.65005)
|
|
53
|
+
* @param {boolean} il - in Israel (true) or Diaspora (false)
|
|
54
|
+
* @param {string} tzid - Olson timezone ID, e.g. "America/Chicago"
|
|
55
|
+
* @param {string} cityName - optional descriptive city name
|
|
56
|
+
* @param {string} countryCode - ISO 3166 alpha-2 country code (e.g. "FR")
|
|
57
|
+
* @param {string} [geoid] - optional string or numeric geographic ID
|
|
58
|
+
* @param {number} [elevation] - in meters (default `0`)
|
|
59
|
+
*/
|
|
60
|
+
constructor(latitude: number, longitude: number, il: boolean, tzid: string, cityName: string, countryCode: string, geoid?: string | undefined, elevation?: number | undefined);
|
|
61
|
+
il: boolean;
|
|
62
|
+
cc: string;
|
|
63
|
+
geoid: string | undefined;
|
|
64
|
+
/** @return {boolean} */
|
|
65
|
+
getIsrael(): boolean;
|
|
66
|
+
/** @return {string} */
|
|
67
|
+
getName(): string;
|
|
68
|
+
/**
|
|
69
|
+
* Returns the location name, up to the first comma
|
|
70
|
+
* @return {string}
|
|
71
|
+
*/
|
|
72
|
+
getShortName(): string;
|
|
73
|
+
/** @return {string} */
|
|
74
|
+
getCountryCode(): string;
|
|
75
|
+
/** @return {string} */
|
|
76
|
+
getTzid(): string;
|
|
77
|
+
/**
|
|
78
|
+
* Gets a 24-hour time formatter (e.g. 07:41 or 20:03) for this location
|
|
79
|
+
* @return {Intl.DateTimeFormat}
|
|
80
|
+
*/
|
|
81
|
+
getTimeFormatter(): Intl.DateTimeFormat;
|
|
82
|
+
/** @return {string} */
|
|
83
|
+
getGeoId(): string;
|
|
84
|
+
}
|
|
85
|
+
import { GeoLocation } from '@hebcal/noaa';
|
package/dist/modern.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Yom HaShoah first observed in 1951.
|
|
3
|
+
* When the actual date of Yom Hashoah falls on a Friday, the
|
|
4
|
+
* state of Israel observes Yom Hashoah on the preceding
|
|
5
|
+
* Thursday. When it falls on a Sunday, Yom Hashoah is observed
|
|
6
|
+
* on the following Monday.
|
|
7
|
+
* http://www.ushmm.org/remembrance/dor/calendar/
|
|
8
|
+
* @private
|
|
9
|
+
* @param {number} year
|
|
10
|
+
* @return {HDate|null}
|
|
11
|
+
*/
|
|
12
|
+
export function dateYomHaShoah(year: number): HDate | null;
|
|
13
|
+
/**
|
|
14
|
+
* Yom HaAtzma'ut only celebrated after 1948
|
|
15
|
+
* @private
|
|
16
|
+
* @param {number} year
|
|
17
|
+
* @return {HDate|null}
|
|
18
|
+
*/
|
|
19
|
+
export function dateYomHaZikaron(year: number): HDate | null;
|
|
20
|
+
import { HDate } from '@hebcal/hdate';
|
package/dist/molad.d.ts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a molad, the moment when the new moon is "born"
|
|
3
|
+
*/
|
|
4
|
+
export class Molad {
|
|
5
|
+
/**
|
|
6
|
+
* Calculates the molad for a Hebrew month
|
|
7
|
+
* @param {number} year
|
|
8
|
+
* @param {number} month
|
|
9
|
+
*/
|
|
10
|
+
constructor(year: number, month: number);
|
|
11
|
+
year: number;
|
|
12
|
+
month: number;
|
|
13
|
+
dow: number;
|
|
14
|
+
hour: number;
|
|
15
|
+
minutes: number;
|
|
16
|
+
chalakim: number;
|
|
17
|
+
/**
|
|
18
|
+
* @return {number}
|
|
19
|
+
*/
|
|
20
|
+
getYear(): number;
|
|
21
|
+
/**
|
|
22
|
+
* @return {number}
|
|
23
|
+
*/
|
|
24
|
+
getMonth(): number;
|
|
25
|
+
/**
|
|
26
|
+
* @return {string}
|
|
27
|
+
*/
|
|
28
|
+
getMonthName(): string;
|
|
29
|
+
/**
|
|
30
|
+
* @return {number} Day of Week (0=Sunday, 6=Saturday)
|
|
31
|
+
*/
|
|
32
|
+
getDow(): number;
|
|
33
|
+
/**
|
|
34
|
+
* @return {number} hour of day (0-23)
|
|
35
|
+
*/
|
|
36
|
+
getHour(): number;
|
|
37
|
+
/**
|
|
38
|
+
* @return {number} minutes past hour (0-59)
|
|
39
|
+
*/
|
|
40
|
+
getMinutes(): number;
|
|
41
|
+
/**
|
|
42
|
+
* @return {number} parts of a minute (0-17)
|
|
43
|
+
*/
|
|
44
|
+
getChalakim(): number;
|
|
45
|
+
/**
|
|
46
|
+
* @param {string} [locale] Optional locale name (defaults to active locale)
|
|
47
|
+
* @param {CalOptions} options
|
|
48
|
+
* @return {string}
|
|
49
|
+
*/
|
|
50
|
+
render(locale?: string | undefined, options: CalOptions): string;
|
|
51
|
+
}
|
|
52
|
+
/** Represents a Molad announcement on Shabbat Mevarchim */
|
|
53
|
+
export class MoladEvent extends Event {
|
|
54
|
+
/**
|
|
55
|
+
* @param {HDate} date Hebrew date event occurs
|
|
56
|
+
* @param {number} hyear molad year
|
|
57
|
+
* @param {number} hmonth molad month
|
|
58
|
+
* @param {CalOptions} options
|
|
59
|
+
*/
|
|
60
|
+
constructor(date: HDate, hyear: number, hmonth: number, options: CalOptions);
|
|
61
|
+
molad: Molad;
|
|
62
|
+
options: CalOptions;
|
|
63
|
+
}
|
|
64
|
+
import { Event } from './event.js';
|
|
65
|
+
import { HDate } from '@hebcal/hdate';
|
package/dist/omer.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** Represents a day 1-49 of counting the Omer from Pesach to Shavuot */
|
|
2
|
+
export class OmerEvent extends Event {
|
|
3
|
+
/**
|
|
4
|
+
* @param {HDate} date
|
|
5
|
+
* @param {number} omerDay
|
|
6
|
+
*/
|
|
7
|
+
constructor(date: HDate, omerDay: number);
|
|
8
|
+
weekNumber: number;
|
|
9
|
+
daysWithinWeeks: number;
|
|
10
|
+
omer: number;
|
|
11
|
+
/**
|
|
12
|
+
* @param {string} lang
|
|
13
|
+
* @return {string}
|
|
14
|
+
*/
|
|
15
|
+
sefira(lang?: string): string;
|
|
16
|
+
/** @return {number} */
|
|
17
|
+
getWeeks(): number;
|
|
18
|
+
/** @return {number} */
|
|
19
|
+
getDaysWithinWeeks(): number;
|
|
20
|
+
/**
|
|
21
|
+
* @param {string} locale
|
|
22
|
+
* @return {string}
|
|
23
|
+
*/
|
|
24
|
+
getTodayIs(locale: string): string;
|
|
25
|
+
}
|
|
26
|
+
import { Event } from './event.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const version: "5.4.0";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @private
|
|
3
|
+
* @param {string} timeStr - original time like "20:30"
|
|
4
|
+
* @param {string} suffix - "p" or "pm" or " P.M.". Add leading space if you want it
|
|
5
|
+
* @param {CalOptions} options
|
|
6
|
+
* @return {string}
|
|
7
|
+
*/
|
|
8
|
+
export function reformatTimeStr(timeStr: string, suffix: string, options: CalOptions): string;
|
package/dist/sedra.d.ts
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Transliterated names of holidays, used by `Event.getDesc()`
|
|
3
|
+
*/
|
|
4
|
+
export type holidayDesc = string;
|
|
5
|
+
export namespace holidayDesc {
|
|
6
|
+
export let ASARA_BTEVET: string;
|
|
7
|
+
export let BIRKAT_HACHAMAH: string;
|
|
8
|
+
export let CHAG_HABANOT: string;
|
|
9
|
+
export let CHANUKAH_8TH_DAY: string;
|
|
10
|
+
export let EREV_TISHA_BAV: string;
|
|
11
|
+
export let LEIL_SELICHOT: string;
|
|
12
|
+
export let PURIM_KATAN: string;
|
|
13
|
+
export let PURIM_MESHULASH: string;
|
|
14
|
+
export let SHABBAT_CHAZON: string;
|
|
15
|
+
export let SHABBAT_HACHODESH: string;
|
|
16
|
+
export let SHABBAT_HAGADOL: string;
|
|
17
|
+
export let SHABBAT_NACHAMU: string;
|
|
18
|
+
export let SHABBAT_PARAH: string;
|
|
19
|
+
export let SHABBAT_SHEKALIM: string;
|
|
20
|
+
export let SHABBAT_SHIRAH: string;
|
|
21
|
+
export let SHABBAT_SHUVA: string;
|
|
22
|
+
export let SHABBAT_ZACHOR: string;
|
|
23
|
+
export let SHUSHAN_PURIM_KATAN: string;
|
|
24
|
+
export let TAANIT_BECHOROT: string;
|
|
25
|
+
export let TAANIT_ESTHER: string;
|
|
26
|
+
export let TISHA_BAV: string;
|
|
27
|
+
export let TZOM_GEDALIAH: string;
|
|
28
|
+
export let TZOM_TAMMUZ: string;
|
|
29
|
+
export let YOM_HAATZMA_UT: string;
|
|
30
|
+
export let YOM_HASHOAH: string;
|
|
31
|
+
export let YOM_HAZIKARON: string;
|
|
32
|
+
export { BEN_GURION_DAY };
|
|
33
|
+
export { CHANUKAH_1_CANDLE };
|
|
34
|
+
export { EREV_PESACH };
|
|
35
|
+
export { EREV_PURIM };
|
|
36
|
+
export { EREV_ROSH_HASHANA };
|
|
37
|
+
export { EREV_SHAVUOT };
|
|
38
|
+
export { EREV_SUKKOT };
|
|
39
|
+
export { EREV_YOM_KIPPUR };
|
|
40
|
+
export { FAMILY_DAY };
|
|
41
|
+
export { HEBREW_LANGUAGE_DAY };
|
|
42
|
+
export { HERZL_DAY };
|
|
43
|
+
export { JABOTINSKY_DAY };
|
|
44
|
+
export { LAG_BAOMER };
|
|
45
|
+
export { PESACH_I };
|
|
46
|
+
export { PESACH_II };
|
|
47
|
+
export { PESACH_III_CHM };
|
|
48
|
+
export { PESACH_II_CHM };
|
|
49
|
+
export { PESACH_IV_CHM };
|
|
50
|
+
export { PESACH_SHENI };
|
|
51
|
+
export { PESACH_VII };
|
|
52
|
+
export { PESACH_VIII };
|
|
53
|
+
export { PESACH_VI_CHM };
|
|
54
|
+
export { PESACH_V_CHM };
|
|
55
|
+
export { PURIM };
|
|
56
|
+
export { ROSH_HASHANA_II };
|
|
57
|
+
export { ROSH_HASHANA_LABEHEMOT };
|
|
58
|
+
export { SHAVUOT };
|
|
59
|
+
export { SHAVUOT_I };
|
|
60
|
+
export { SHAVUOT_II };
|
|
61
|
+
export { SHMINI_ATZERET };
|
|
62
|
+
export { SHUSHAN_PURIM };
|
|
63
|
+
export { SIGD };
|
|
64
|
+
export { SIMCHAT_TORAH };
|
|
65
|
+
export { SUKKOT_I };
|
|
66
|
+
export { SUKKOT_II };
|
|
67
|
+
export { SUKKOT_III_CHM };
|
|
68
|
+
export { SUKKOT_II_CHM };
|
|
69
|
+
export { SUKKOT_IV_CHM };
|
|
70
|
+
export { SUKKOT_VII_HOSHANA_RABA };
|
|
71
|
+
export { SUKKOT_VI_CHM };
|
|
72
|
+
export { SUKKOT_V_CHM };
|
|
73
|
+
export { TU_BAV };
|
|
74
|
+
export { TU_BISHVAT };
|
|
75
|
+
export { YITZHAK_RABIN_MEMORIAL_DAY };
|
|
76
|
+
export { YOM_HAALIYAH };
|
|
77
|
+
export { YOM_HAALIYAH_SCHOOL_OBSERVANCE };
|
|
78
|
+
export { YOM_KIPPUR };
|
|
79
|
+
export { YOM_YERUSHALAYIM };
|
|
80
|
+
}
|
|
81
|
+
export const staticHolidays: ({
|
|
82
|
+
mm: number;
|
|
83
|
+
dd: number;
|
|
84
|
+
desc: string;
|
|
85
|
+
flags: number;
|
|
86
|
+
emoji: string;
|
|
87
|
+
chmDay?: undefined;
|
|
88
|
+
} | {
|
|
89
|
+
mm: number;
|
|
90
|
+
dd: number;
|
|
91
|
+
desc: string;
|
|
92
|
+
flags: number;
|
|
93
|
+
emoji?: undefined;
|
|
94
|
+
chmDay?: undefined;
|
|
95
|
+
} | {
|
|
96
|
+
mm: number;
|
|
97
|
+
dd: number;
|
|
98
|
+
desc: string;
|
|
99
|
+
flags: number;
|
|
100
|
+
chmDay: number;
|
|
101
|
+
emoji: string;
|
|
102
|
+
})[];
|
|
103
|
+
export const staticModernHolidays: ({
|
|
104
|
+
firstYear: number;
|
|
105
|
+
mm: number;
|
|
106
|
+
dd: number;
|
|
107
|
+
desc: string;
|
|
108
|
+
chul: boolean;
|
|
109
|
+
satPostponeToSun?: undefined;
|
|
110
|
+
friPostponeToSun?: undefined;
|
|
111
|
+
friSatMovetoThu?: undefined;
|
|
112
|
+
suppressEmoji?: undefined;
|
|
113
|
+
} | {
|
|
114
|
+
firstYear: number;
|
|
115
|
+
mm: number;
|
|
116
|
+
dd: number;
|
|
117
|
+
desc: string;
|
|
118
|
+
satPostponeToSun: boolean;
|
|
119
|
+
friPostponeToSun: boolean;
|
|
120
|
+
chul?: undefined;
|
|
121
|
+
friSatMovetoThu?: undefined;
|
|
122
|
+
suppressEmoji?: undefined;
|
|
123
|
+
} | {
|
|
124
|
+
firstYear: number;
|
|
125
|
+
mm: number;
|
|
126
|
+
dd: number;
|
|
127
|
+
desc: string;
|
|
128
|
+
chul?: undefined;
|
|
129
|
+
satPostponeToSun?: undefined;
|
|
130
|
+
friPostponeToSun?: undefined;
|
|
131
|
+
friSatMovetoThu?: undefined;
|
|
132
|
+
suppressEmoji?: undefined;
|
|
133
|
+
} | {
|
|
134
|
+
firstYear: number;
|
|
135
|
+
mm: number;
|
|
136
|
+
dd: number;
|
|
137
|
+
desc: string;
|
|
138
|
+
friSatMovetoThu: boolean;
|
|
139
|
+
chul?: undefined;
|
|
140
|
+
satPostponeToSun?: undefined;
|
|
141
|
+
friPostponeToSun?: undefined;
|
|
142
|
+
suppressEmoji?: undefined;
|
|
143
|
+
} | {
|
|
144
|
+
firstYear: number;
|
|
145
|
+
mm: number;
|
|
146
|
+
dd: number;
|
|
147
|
+
desc: string;
|
|
148
|
+
satPostponeToSun: boolean;
|
|
149
|
+
chul?: undefined;
|
|
150
|
+
friPostponeToSun?: undefined;
|
|
151
|
+
friSatMovetoThu?: undefined;
|
|
152
|
+
suppressEmoji?: undefined;
|
|
153
|
+
} | {
|
|
154
|
+
firstYear: number;
|
|
155
|
+
mm: number;
|
|
156
|
+
dd: number;
|
|
157
|
+
desc: string;
|
|
158
|
+
chul: boolean;
|
|
159
|
+
suppressEmoji: boolean;
|
|
160
|
+
satPostponeToSun?: undefined;
|
|
161
|
+
friPostponeToSun?: undefined;
|
|
162
|
+
friSatMovetoThu?: undefined;
|
|
163
|
+
})[];
|
|
164
|
+
declare const BEN_GURION_DAY: "Ben-Gurion Day";
|
|
165
|
+
declare const CHANUKAH_1_CANDLE: "Chanukah: 1 Candle";
|
|
166
|
+
declare const EREV_PESACH: "Erev Pesach";
|
|
167
|
+
declare const EREV_PURIM: "Erev Purim";
|
|
168
|
+
declare const EREV_ROSH_HASHANA: "Erev Rosh Hashana";
|
|
169
|
+
declare const EREV_SHAVUOT: "Erev Shavuot";
|
|
170
|
+
declare const EREV_SUKKOT: "Erev Sukkot";
|
|
171
|
+
declare const EREV_YOM_KIPPUR: "Erev Yom Kippur";
|
|
172
|
+
declare const FAMILY_DAY: "Family Day";
|
|
173
|
+
declare const HEBREW_LANGUAGE_DAY: "Hebrew Language Day";
|
|
174
|
+
declare const HERZL_DAY: "Herzl Day";
|
|
175
|
+
declare const JABOTINSKY_DAY: "Jabotinsky Day";
|
|
176
|
+
declare const LAG_BAOMER: "Lag BaOmer";
|
|
177
|
+
declare const PESACH_I: "Pesach I";
|
|
178
|
+
declare const PESACH_II: "Pesach II";
|
|
179
|
+
declare const PESACH_III_CHM: "Pesach III (CH''M)";
|
|
180
|
+
declare const PESACH_II_CHM: "Pesach II (CH''M)";
|
|
181
|
+
declare const PESACH_IV_CHM: "Pesach IV (CH''M)";
|
|
182
|
+
declare const PESACH_SHENI: "Pesach Sheni";
|
|
183
|
+
declare const PESACH_VII: "Pesach VII";
|
|
184
|
+
declare const PESACH_VIII: "Pesach VIII";
|
|
185
|
+
declare const PESACH_VI_CHM: "Pesach VI (CH''M)";
|
|
186
|
+
declare const PESACH_V_CHM: "Pesach V (CH''M)";
|
|
187
|
+
declare const PURIM: "Purim";
|
|
188
|
+
declare const ROSH_HASHANA_II: "Rosh Hashana II";
|
|
189
|
+
declare const ROSH_HASHANA_LABEHEMOT: "Rosh Hashana LaBehemot";
|
|
190
|
+
declare const SHAVUOT: "Shavuot";
|
|
191
|
+
declare const SHAVUOT_I: "Shavuot I";
|
|
192
|
+
declare const SHAVUOT_II: "Shavuot II";
|
|
193
|
+
declare const SHMINI_ATZERET: "Shmini Atzeret";
|
|
194
|
+
declare const SHUSHAN_PURIM: "Shushan Purim";
|
|
195
|
+
declare const SIGD: "Sigd";
|
|
196
|
+
declare const SIMCHAT_TORAH: "Simchat Torah";
|
|
197
|
+
declare const SUKKOT_I: "Sukkot I";
|
|
198
|
+
declare const SUKKOT_II: "Sukkot II";
|
|
199
|
+
declare const SUKKOT_III_CHM: "Sukkot III (CH''M)";
|
|
200
|
+
declare const SUKKOT_II_CHM: "Sukkot II (CH''M)";
|
|
201
|
+
declare const SUKKOT_IV_CHM: "Sukkot IV (CH''M)";
|
|
202
|
+
declare const SUKKOT_VII_HOSHANA_RABA: "Sukkot VII (Hoshana Raba)";
|
|
203
|
+
declare const SUKKOT_VI_CHM: "Sukkot VI (CH''M)";
|
|
204
|
+
declare const SUKKOT_V_CHM: "Sukkot V (CH''M)";
|
|
205
|
+
declare const TU_BAV: "Tu B'Av";
|
|
206
|
+
declare const TU_BISHVAT: "Tu BiShvat";
|
|
207
|
+
declare const YITZHAK_RABIN_MEMORIAL_DAY: "Yitzhak Rabin Memorial Day";
|
|
208
|
+
declare const YOM_HAALIYAH: "Yom HaAliyah";
|
|
209
|
+
declare const YOM_HAALIYAH_SCHOOL_OBSERVANCE: "Yom HaAliyah School Observance";
|
|
210
|
+
declare const YOM_KIPPUR: "Yom Kippur";
|
|
211
|
+
declare const YOM_YERUSHALAYIM: "Yom Yerushalayim";
|
|
212
|
+
export {};
|