jcal-zmanim 1.4.0 → 1.5.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/index.cjs +1180 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1180 -24
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -302,12 +302,28 @@ declare class jDate {
|
|
|
302
302
|
static daysJMonth(year: number, month: number): number;
|
|
303
303
|
/**Elapsed days since creation of the world until Rosh Hashana of the given year*/
|
|
304
304
|
static tDays(year: number): number;
|
|
305
|
+
/**The index for the year type of the given year.
|
|
306
|
+
* IMPORTANT NOTE: Only works for years 5000 and after.
|
|
307
|
+
*/
|
|
308
|
+
static yearType(year: number): {
|
|
309
|
+
isLeapYear: boolean;
|
|
310
|
+
dow: number;
|
|
311
|
+
isLongCheshvan: boolean;
|
|
312
|
+
isLongKislev: boolean;
|
|
313
|
+
daysInYear: number;
|
|
314
|
+
};
|
|
305
315
|
/**number of days in the given Jewish Year.*/
|
|
306
316
|
static daysJYear(year: number): number;
|
|
307
317
|
/**Does Cheshvan for the given Jewish Year have 30 days?*/
|
|
308
318
|
static isLongCheshvan(year: number): boolean;
|
|
309
319
|
/**Does Kislev for the given Jewish Year have 29 days?*/
|
|
310
320
|
static isShortKislev(year: number): boolean;
|
|
321
|
+
/**number of days in the given Jewish Year.*/
|
|
322
|
+
static daysJYear_(year: number): number;
|
|
323
|
+
/**Does Cheshvan for the given Jewish Year have 30 days?*/
|
|
324
|
+
static isLongCheshvan_(year: number): boolean;
|
|
325
|
+
/**Does Kislev for the given Jewish Year have 29 days?*/
|
|
326
|
+
static isShortKislev_(year: number): boolean;
|
|
311
327
|
/**Does the given Jewish Year have 13 months?*/
|
|
312
328
|
static isJdLeapY(year: number): boolean;
|
|
313
329
|
/**number of months in Jewish Year.*/
|
package/dist/index.d.ts
CHANGED
|
@@ -302,12 +302,28 @@ declare class jDate {
|
|
|
302
302
|
static daysJMonth(year: number, month: number): number;
|
|
303
303
|
/**Elapsed days since creation of the world until Rosh Hashana of the given year*/
|
|
304
304
|
static tDays(year: number): number;
|
|
305
|
+
/**The index for the year type of the given year.
|
|
306
|
+
* IMPORTANT NOTE: Only works for years 5000 and after.
|
|
307
|
+
*/
|
|
308
|
+
static yearType(year: number): {
|
|
309
|
+
isLeapYear: boolean;
|
|
310
|
+
dow: number;
|
|
311
|
+
isLongCheshvan: boolean;
|
|
312
|
+
isLongKislev: boolean;
|
|
313
|
+
daysInYear: number;
|
|
314
|
+
};
|
|
305
315
|
/**number of days in the given Jewish Year.*/
|
|
306
316
|
static daysJYear(year: number): number;
|
|
307
317
|
/**Does Cheshvan for the given Jewish Year have 30 days?*/
|
|
308
318
|
static isLongCheshvan(year: number): boolean;
|
|
309
319
|
/**Does Kislev for the given Jewish Year have 29 days?*/
|
|
310
320
|
static isShortKislev(year: number): boolean;
|
|
321
|
+
/**number of days in the given Jewish Year.*/
|
|
322
|
+
static daysJYear_(year: number): number;
|
|
323
|
+
/**Does Cheshvan for the given Jewish Year have 30 days?*/
|
|
324
|
+
static isLongCheshvan_(year: number): boolean;
|
|
325
|
+
/**Does Kislev for the given Jewish Year have 29 days?*/
|
|
326
|
+
static isShortKislev_(year: number): boolean;
|
|
311
327
|
/**Does the given Jewish Year have 13 months?*/
|
|
312
328
|
static isJdLeapY(year: number): boolean;
|
|
313
329
|
/**number of months in Jewish Year.*/
|