jcal-zmanim 1.1.10 → 1.2.1
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/LICENSE +674 -674
- package/dist/index.cjs +13273 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +898 -0
- package/dist/index.d.ts +898 -36
- package/dist/index.js +3519 -35
- package/dist/index.js.map +1 -1
- package/package.json +47 -46
- package/dist/JCal/Dafyomi.d.ts +0 -28
- package/dist/JCal/Dafyomi.d.ts.map +0 -1
- package/dist/JCal/Dafyomi.js +0 -130
- package/dist/JCal/Dafyomi.js.map +0 -1
- package/dist/JCal/Location.d.ts +0 -33
- package/dist/JCal/Location.d.ts.map +0 -1
- package/dist/JCal/Location.js +0 -77
- package/dist/JCal/Location.js.map +0 -1
- package/dist/JCal/Molad.d.ts +0 -38
- package/dist/JCal/Molad.d.ts.map +0 -1
- package/dist/JCal/Molad.js +0 -90
- package/dist/JCal/Molad.js.map +0 -1
- package/dist/JCal/PirkeiAvos.d.ts +0 -14
- package/dist/JCal/PirkeiAvos.d.ts.map +0 -1
- package/dist/JCal/PirkeiAvos.js +0 -171
- package/dist/JCal/PirkeiAvos.js.map +0 -1
- package/dist/JCal/Sedra.d.ts +0 -64
- package/dist/JCal/Sedra.d.ts.map +0 -1
- package/dist/JCal/Sedra.js +0 -183
- package/dist/JCal/Sedra.js.map +0 -1
- package/dist/JCal/Zmanim.d.ts +0 -96
- package/dist/JCal/Zmanim.d.ts.map +0 -1
- package/dist/JCal/Zmanim.js +0 -223
- package/dist/JCal/Zmanim.js.map +0 -1
- package/dist/JCal/ZmanimUtils.d.ts +0 -72
- package/dist/JCal/ZmanimUtils.d.ts.map +0 -1
- package/dist/JCal/ZmanimUtils.js +0 -349
- package/dist/JCal/ZmanimUtils.js.map +0 -1
- package/dist/JCal/jDate.d.ts +0 -204
- package/dist/JCal/jDate.d.ts.map +0 -1
- package/dist/JCal/jDate.js +0 -648
- package/dist/JCal/jDate.js.map +0 -1
- package/dist/Locations.d.ts +0 -31
- package/dist/Locations.d.ts.map +0 -1
- package/dist/Locations.js +0 -153
- package/dist/Locations.js.map +0 -1
- package/dist/Notifications.d.ts +0 -18
- package/dist/Notifications.d.ts.map +0 -1
- package/dist/Notifications.js +0 -1039
- package/dist/Notifications.js.map +0 -1
- package/dist/README.md +0 -567
- package/dist/Utils.d.ts +0 -287
- package/dist/Utils.d.ts.map +0 -1
- package/dist/Utils.js +0 -822
- package/dist/Utils.js.map +0 -1
- package/dist/ZmanTypes.d.ts +0 -41
- package/dist/ZmanTypes.d.ts.map +0 -1
- package/dist/ZmanTypes.js +0 -187
- package/dist/ZmanTypes.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/locations.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ZmanimUtils.js","sourceRoot":"","sources":["../../src/JCal/ZmanimUtils.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAC,KAAK,EAAE,UAAU,EAAC,MAAM,aAAa,CAAC;AAC9C,OAAO,MAAM,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAgBtE,MAAM,CAAC,IAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,OAAO,EAAE,CAAC;IACV,SAAS,EAAE,CAAC;IACZ,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,GAAG;CACd,CAAC,CAAC;AAEH;IAAA;IA+WA,CAAC;IA5WG;;;;;;;OAOG;IACI,wBAAY,GAAnB,UAAoB,SAAuB,EAAE,IAAU,EAAE,KAAY,EAAE,QAAkB;;QACrF,IAAM,GAAG,GAAG,WAAW,CAAC,cAAc,CAAC,IAAI,CACvC,UAAC,CAAC;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B,IAAkB,EAAE,QAAkB;QAChD,IAAA,KAAmB,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,EAAtC,KAAK,WAAA,EAAE,KAAK,WAA0B,CAAC;QAC/C,OAAO,WAAW,CAAC,YAAY,CAAC,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAE,CAAC;IACxE,CAAC;IA7WM,0BAAc,GAAe,EAAE,CAAC;IA8W3C,kBAAC;CAAA,AA/WD,IA+WC;eA/WoB,WAAW"}
|
package/dist/JCal/jDate.d.ts
DELETED
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import Sedra from './Sedra.js';
|
|
2
|
-
import Location from './Location.js';
|
|
3
|
-
/** Represents a single day in the Jewish Calendar. */
|
|
4
|
-
export default class jDate {
|
|
5
|
-
Day: number;
|
|
6
|
-
Month: number;
|
|
7
|
-
Year: number;
|
|
8
|
-
Abs: number;
|
|
9
|
-
/**
|
|
10
|
-
* Create a new Jdate.
|
|
11
|
-
* new jDate() - Sets the Jewish Date for the current system date
|
|
12
|
-
* new jDate(javascriptDateObject) - Sets to the Jewish date on the given Gregorian date
|
|
13
|
-
* new jDate("January 1 2045") - Accepts any valid javascript Date string (uses javascripts new Date(string))
|
|
14
|
-
* new jDate(jewishYear, jewishMonth, jewishDay) - Months start at 1. Nissan is month 1 Adar Sheini is 13.
|
|
15
|
-
* new jDate(jewishYear, jewishMonth) - Same as above, with Day defaulting to 1
|
|
16
|
-
* new jDate( { year: 5776, month: 4, day: 5 } ) - same as new jDate(jewishYear, jewishMonth, jewishDay)
|
|
17
|
-
* new jDate( { year: 5776, month: 4 } ) - same as new jDate(jewishYear, jewishMonth)
|
|
18
|
-
* new jDate( { year: 5776 } ) - sets to the first day of Rosh Hashana on the given year
|
|
19
|
-
* new jDate(absoluteDate) - The number of days elapsed since the theoretical date Sunday, December 31, 0001 BCE
|
|
20
|
-
* new jDate(jewishYear, jewishMonth, jewishDay, absoluteDate) - Most efficient constructor. Needs no calculations at all.
|
|
21
|
-
* new jDate( { year: 5776, month: 4, day: 5, abs: 122548708 } ) - same as new jDate(jewishYear, jewishMonth, jewishDay, absoluteDate)
|
|
22
|
-
* @param {number | Date | string | {year:number,month:number,day:number} | [number, number, number, number]} [arg] The full Jewish year number OR Javascript Date object or string OR object or array of year, month, day
|
|
23
|
-
* @param {number} [month] The month of the Jewish date. Nissan is 1.
|
|
24
|
-
* @param {number} [day] The day of the month
|
|
25
|
-
* @param {number} [abs] The number of days that have passed since 12/31/0001
|
|
26
|
-
*/
|
|
27
|
-
constructor(arg?: number | Date | string | {
|
|
28
|
-
year: number;
|
|
29
|
-
month: number;
|
|
30
|
-
day: number;
|
|
31
|
-
} | [number, number, number, number], month?: number, day?: number, abs?: number);
|
|
32
|
-
/**Sets the current Jewish date from the given absolute date*/
|
|
33
|
-
fromAbs(absolute: number): void;
|
|
34
|
-
/**Returns a valid javascript Date object that represents the Gregorian date
|
|
35
|
-
that starts at midnight of the current Jewish date.*/
|
|
36
|
-
getDate(): Date;
|
|
37
|
-
/**
|
|
38
|
-
* @returns {number} The day of the week for the current Jewish date. Sunday is 0 and Shabbos is 6.
|
|
39
|
-
*/
|
|
40
|
-
getDayOfWeek(): number;
|
|
41
|
-
/**
|
|
42
|
-
* @returns {number} The day of the week for the current Jewish date. Sunday is 0 and Shabbos is 6
|
|
43
|
-
*/
|
|
44
|
-
get DayOfWeek(): number;
|
|
45
|
-
/**Returns a new Jewish date represented by adding the given number of days to the current Jewish date.*/
|
|
46
|
-
addDays(days: number): jDate;
|
|
47
|
-
/**
|
|
48
|
-
* Returns a new Jewish date represented by adding the given number of
|
|
49
|
-
* Jewish Months to the current Jewish date.
|
|
50
|
-
* If the current Day is 30 and the new month only has 29 days,
|
|
51
|
-
* the 29th day of the month is returned.
|
|
52
|
-
* @param {number} months
|
|
53
|
-
*/
|
|
54
|
-
addMonths(months: number): jDate;
|
|
55
|
-
/**
|
|
56
|
-
* Returns a new Jewish date represented by adding the
|
|
57
|
-
* given number of Jewish Years to the current Jewish date.
|
|
58
|
-
* If the current Day is 30 and the new dates month only has 29 days,
|
|
59
|
-
* the 29th day of the month is returned.
|
|
60
|
-
* @param {number} years
|
|
61
|
-
*/
|
|
62
|
-
addYears(years: number): jDate;
|
|
63
|
-
addSecularMonths(months: number): jDate;
|
|
64
|
-
addSecularYears(years: number): jDate;
|
|
65
|
-
/**Gets the number of days separating this Jewish Date and the given one.
|
|
66
|
-
*
|
|
67
|
-
* If the given date is before this one, the number will be negative.
|
|
68
|
-
* @param {jDate} jd
|
|
69
|
-
* */
|
|
70
|
-
diffDays(jd: jDate): number;
|
|
71
|
-
/**Gets the number of months separating this Jewish Date and the given one.
|
|
72
|
-
*
|
|
73
|
-
* Ignores the Day property:
|
|
74
|
-
*
|
|
75
|
-
* jDate.toJDate(5777, 6, 29).diffMonths(jDate.toJDate(5778, 7, 1)) will return 1 even though they are a day apart.
|
|
76
|
-
*
|
|
77
|
-
* If the given date is before this one, the number will be negative.
|
|
78
|
-
* @param {jDate} jd
|
|
79
|
-
* */
|
|
80
|
-
diffMonths(jd: jDate): number;
|
|
81
|
-
/**Gets the number of years separating this Jewish Date and the given one.
|
|
82
|
-
*
|
|
83
|
-
* Ignores the Day and Month properties:
|
|
84
|
-
*
|
|
85
|
-
* jDate.toJDate(5777, 6, 29).diffYears(jDate.toJDate(5778, 7, 1)) will return 1 even though they are a day apart.
|
|
86
|
-
*
|
|
87
|
-
* If the given date is before this one, the number will be negative.
|
|
88
|
-
* @param {jDate} jd*/
|
|
89
|
-
diffYears(jd: jDate): number;
|
|
90
|
-
/**
|
|
91
|
-
* Returns the current Jewish date in the format: Thursday, the 3rd of Kislev 5776.
|
|
92
|
-
* @param {boolean} hideDayOfWeek
|
|
93
|
-
* @param {boolean} dontCapitalize
|
|
94
|
-
*/
|
|
95
|
-
toString(hideDayOfWeek?: boolean, dontCapitalize?: boolean): string;
|
|
96
|
-
/**
|
|
97
|
-
* Returns the current Jewish date in the format "[Tuesday] Nissan 3, 5778"
|
|
98
|
-
* @param {boolean} showDow - show day of week?
|
|
99
|
-
*/
|
|
100
|
-
toShortstring(showDow: boolean): string;
|
|
101
|
-
/**
|
|
102
|
-
* Returns the current Jewish date in the format "Nissan 5778"
|
|
103
|
-
* @param {boolean} showYear - show the year number?
|
|
104
|
-
*/
|
|
105
|
-
monthName(showYear?: boolean): string;
|
|
106
|
-
/**Returns the current Jewish date in the format: יום חמישי כ"א כסלו תשע"ו.*/
|
|
107
|
-
toStringHeb(): string;
|
|
108
|
-
/**Gets the day of the omer for the current Jewish date. If the date is not during sefira, 0 is returned.*/
|
|
109
|
-
getDayOfOmer(): number;
|
|
110
|
-
/**
|
|
111
|
-
* Returns true if this day is yomtov or chol hamoed
|
|
112
|
-
* @param {boolean} israel
|
|
113
|
-
*/
|
|
114
|
-
isYomTovOrCholHamoed(israel: boolean): boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Returns true if this day is yomtov
|
|
117
|
-
* @param {boolean} israel
|
|
118
|
-
*/
|
|
119
|
-
isYomTov(israel: boolean): boolean;
|
|
120
|
-
/**Is today Erev Yom Tov? (includes Erev second days of Sukkos and Pesach) */
|
|
121
|
-
isErevYomTov(): boolean;
|
|
122
|
-
/**Does the current Jewish date have candle lighting before sunset?*/
|
|
123
|
-
hasCandleLighting(): boolean;
|
|
124
|
-
/**Is the current Jewish Date the day before a yomtov that contains a Friday?*/
|
|
125
|
-
hasEiruvTavshilin(israel: boolean): boolean;
|
|
126
|
-
/**Gets the candle lighting time for the current Jewish date for the given Location object.*/
|
|
127
|
-
getCandleLighting(location: Location, nullIfNoCandles: boolean): import("../jcal-zmanim.js").Time | null | undefined;
|
|
128
|
-
/**Get the sedra of the week for the current Jewish date.*/
|
|
129
|
-
getSedra(israel: boolean): Sedra;
|
|
130
|
-
/**Get the prakim of Pirkei Avos for the current Jewish date.*/
|
|
131
|
-
getPirkeiAvos(israel: boolean): number[];
|
|
132
|
-
/**Gets sunrise and sunset time for the current Jewish date at the given Location.
|
|
133
|
-
*
|
|
134
|
-
* Return format: {sunrise: {hour: 6, minute: 18}, sunset: {hour: 19, minute: 41}}*/
|
|
135
|
-
getSunriseSunset(location: Location, ignoreElevation?: boolean): import("../jcal-zmanim.js").SunTimes;
|
|
136
|
-
/**Gets Chatzos for both the day and the night for the current Jewish date at the given Location.
|
|
137
|
-
*
|
|
138
|
-
*Return format: {hour: 11, minute: 48}*/
|
|
139
|
-
getChatzos(location: Location): import("../jcal-zmanim.js").Time;
|
|
140
|
-
/**Gets the length of a single Sha'a Zmanis in minutes for the current Jewish date at the given Location.*/
|
|
141
|
-
getShaaZmanis(location: Location, offset: number): number;
|
|
142
|
-
/**Returns the daily daf in English. For example: Sukkah, Daf 3.*/
|
|
143
|
-
getDafYomi(): string;
|
|
144
|
-
/**Gets the daily daf in Hebrew. For example: 'סוכה דף כ.*/
|
|
145
|
-
getDafyomiHeb(): string;
|
|
146
|
-
/**
|
|
147
|
-
* Converts its argument/s to a Jewish Date.
|
|
148
|
-
* Samples of use:
|
|
149
|
-
* To get the current Jewish Date: jDate.toJDate(new Date()).
|
|
150
|
-
* To print out the current date in English: jDate.toJDate(new Date()).toString()
|
|
151
|
-
* To print out the current date in Hebrew: jDate.toJDate(new Date()).toStringHeb()
|
|
152
|
-
*
|
|
153
|
-
* Arguments to the jDate.toJDate function can be one of the following:
|
|
154
|
-
* jDate.toJDate() - Sets the Jewish Date for the current system date
|
|
155
|
-
* jDate.toJDate(Date) - Sets to the Jewish date on the given Javascript Date object
|
|
156
|
-
* jDate.toJDate("January 1 2045") - Accepts any valid Javascript Date string (uses string constructor of Date object)
|
|
157
|
-
* jDate.toJDate(jewishYear, jewishMonth, jewishDay) - Months start at 1. Nissan is month 1 Adara Sheini is 13.
|
|
158
|
-
* jDate.toJDate(jewishYear, jewishMonth) - Same as above, with Day defaulting to 1
|
|
159
|
-
* jDate.toJDate(jewishYear) - sets to the first day of Rosh Hashana on the given year
|
|
160
|
-
* jDate.toJDate( { year: 5776, month: 4, day: 5 } ) - Months start at 1. Nissan is month 1 Adara Sheini is 13.
|
|
161
|
-
* jDate.toJDate( { year: 5776, month: 4 } ) - Same as above, with Day defaulting to 1
|
|
162
|
-
* jDate.toJDate( { year: 5776 } ) - sets to the first day of Rosh Hashana on the given year
|
|
163
|
-
* jDate.toJDate(jewishYear, jewishMonth, jewishDay, absoluteDate) - Most efficient. Needs no calculations at all. The absoluteDate is the number of days elapsed since the theoretical date Sunday, December 31, 0001 BCE.
|
|
164
|
-
* jDate.toJDate( { year: 5776, month: 4, day: 5, abs: 122548708 } ) - same as jDate.toJDate(jewishYear, jewishMonth, jewishDay, absoluteDate)
|
|
165
|
-
****************************************************************************************************************/
|
|
166
|
-
static toJDate(arg?: number | Date | string | {
|
|
167
|
-
year: number;
|
|
168
|
-
month: number;
|
|
169
|
-
day: number;
|
|
170
|
-
} | [number, number, number, number], month?: number, day?: number, abs?: number): jDate;
|
|
171
|
-
static now(): jDate;
|
|
172
|
-
/**Calculate the Jewish year, month and day for the given absolute date.*/
|
|
173
|
-
static fromAbs(absDay: number): {
|
|
174
|
-
year: number;
|
|
175
|
-
month: number;
|
|
176
|
-
day: number;
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* Gets the absolute date of the given javascript Date object.
|
|
180
|
-
* @param {Date} date
|
|
181
|
-
*/
|
|
182
|
-
static absSd(date: Date): number;
|
|
183
|
-
/**Calculate the absolute date for the given Jewish Date.*/
|
|
184
|
-
static absJd(year: number, month: number, day: number): number;
|
|
185
|
-
/**
|
|
186
|
-
* Gets a javascript date from an absolute date
|
|
187
|
-
*/
|
|
188
|
-
static sdFromAbs(abs: number): Date;
|
|
189
|
-
/**number of days in the given Jewish Month. Nissan is 1 and Adar Sheini is 13.*/
|
|
190
|
-
static daysJMonth(year: number, month: number): number;
|
|
191
|
-
/**Elapsed days since creation of the world until Rosh Hashana of the given year*/
|
|
192
|
-
static tDays(year: number): number;
|
|
193
|
-
/**number of days in the given Jewish Year.*/
|
|
194
|
-
static daysJYear(year: number): number;
|
|
195
|
-
/**Does Cheshvan for the given Jewish Year have 30 days?*/
|
|
196
|
-
static isLongCheshvan(year: number): boolean;
|
|
197
|
-
/**Does Kislev for the given Jewish Year have 29 days?*/
|
|
198
|
-
static isShortKislev(year: number): boolean;
|
|
199
|
-
/**Does the given Jewish Year have 13 months?*/
|
|
200
|
-
static isJdLeapY(year: number): boolean;
|
|
201
|
-
/**number of months in Jewish Year.*/
|
|
202
|
-
static monthsJYear(year: number): number;
|
|
203
|
-
}
|
|
204
|
-
//# sourceMappingURL=jDate.d.ts.map
|
package/dist/JCal/jDate.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jDate.d.ts","sourceRoot":"","sources":["../../src/JCal/jDate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,YAAY,CAAC;AAI/B,OAAO,QAAQ,MAAM,eAAe,CAAC;AAgBrC,sDAAsD;AACtD,MAAM,CAAC,OAAO,OAAO,KAAK;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;;;;;;;;;OAiBG;gBACS,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;IA8DtK,8DAA8D;IAC9D,OAAO,CAAC,QAAQ,EAAE,MAAM;IAQxB;yDACqD;IACrD,OAAO,IAAI,IAAI;IAGf;;OAEG;IACH,YAAY,IAAI,MAAM;IAGtB;;OAEG;IACH,IAAI,SAA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