jcal-zmanim 1.4.0 → 1.5.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/dist/index.cjs +1141 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +1141 -31
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -300,8 +300,16 @@ declare class jDate {
|
|
|
300
300
|
static sdFromAbs(abs: number): Date;
|
|
301
301
|
/**number of days in the given Jewish Month. Nissan is 1 and Adar Sheini is 13.*/
|
|
302
302
|
static daysJMonth(year: number, month: number): number;
|
|
303
|
-
/**
|
|
304
|
-
|
|
303
|
+
/**The index for the year type of the given year.
|
|
304
|
+
* IMPORTANT NOTE: Only works for years 5000 and after.
|
|
305
|
+
*/
|
|
306
|
+
static yearType(year: number): {
|
|
307
|
+
isLeapYear: boolean;
|
|
308
|
+
dow: number;
|
|
309
|
+
isLongCheshvan: boolean;
|
|
310
|
+
isLongKislev: boolean;
|
|
311
|
+
daysInYear: number;
|
|
312
|
+
};
|
|
305
313
|
/**number of days in the given Jewish Year.*/
|
|
306
314
|
static daysJYear(year: number): number;
|
|
307
315
|
/**Does Cheshvan for the given Jewish Year have 30 days?*/
|
|
@@ -312,6 +320,7 @@ declare class jDate {
|
|
|
312
320
|
static isJdLeapY(year: number): boolean;
|
|
313
321
|
/**number of months in Jewish Year.*/
|
|
314
322
|
static monthsJYear(year: number): number;
|
|
323
|
+
static getElapsedDays: (year: number) => number;
|
|
315
324
|
}
|
|
316
325
|
|
|
317
326
|
declare const DaysOfWeek: Readonly<{
|
package/dist/index.d.ts
CHANGED
|
@@ -300,8 +300,16 @@ declare class jDate {
|
|
|
300
300
|
static sdFromAbs(abs: number): Date;
|
|
301
301
|
/**number of days in the given Jewish Month. Nissan is 1 and Adar Sheini is 13.*/
|
|
302
302
|
static daysJMonth(year: number, month: number): number;
|
|
303
|
-
/**
|
|
304
|
-
|
|
303
|
+
/**The index for the year type of the given year.
|
|
304
|
+
* IMPORTANT NOTE: Only works for years 5000 and after.
|
|
305
|
+
*/
|
|
306
|
+
static yearType(year: number): {
|
|
307
|
+
isLeapYear: boolean;
|
|
308
|
+
dow: number;
|
|
309
|
+
isLongCheshvan: boolean;
|
|
310
|
+
isLongKislev: boolean;
|
|
311
|
+
daysInYear: number;
|
|
312
|
+
};
|
|
305
313
|
/**number of days in the given Jewish Year.*/
|
|
306
314
|
static daysJYear(year: number): number;
|
|
307
315
|
/**Does Cheshvan for the given Jewish Year have 30 days?*/
|
|
@@ -312,6 +320,7 @@ declare class jDate {
|
|
|
312
320
|
static isJdLeapY(year: number): boolean;
|
|
313
321
|
/**number of months in Jewish Year.*/
|
|
314
322
|
static monthsJYear(year: number): number;
|
|
323
|
+
static getElapsedDays: (year: number) => number;
|
|
315
324
|
}
|
|
316
325
|
|
|
317
326
|
declare const DaysOfWeek: Readonly<{
|