UNPKG

@calj.net/jdates

Version:

The Jewish Dates library from https://CalJ.net

41 lines (40 loc) 1.34 kB
import { JDate } from "./JDate"; import { ParashaScheme } from "./ParashaScheme"; import { Sidra } from "./Sidra"; export declare enum ParashaSpecial { SHEQALIM = "SHEQALIM", ZACHOR = "ZACHOR", PARAH = "PARAH", HACHODESH = "HACHODESH", HAGADOL = "HAGADOL" } export declare class Parasha { private israel; static make(jdate: JDate, israel?: ParashaScheme): Parasha; private parshiot?; private festival?; private special?; private constructor(); private compute; private static calcKevvia; /** * Returns the weekly parshiot of week #$n starting from the week of * Bereshit, given a kevvia formed with: * [YearLength][DayOfWeekRoshHashana][Israel/Galout(1/0)] The returned value * is null if no regular sidra (holiday sidra), or an array of one integer, * if one sidra read (its index in the parasha table), or an array of two * integers if mehhubarin. * * * @param kevvia The Hebrew Year Type * @param n The number of full weeks since Bereshit * @return array */ private static getArrayParshiot; private computeSpecialParasha; getSidra(): Sidra[] | undefined; getSpecial(): ParashaSpecial | undefined; getFestivalName(): string | undefined; getHaftara(): string | Sidra; private readonly shabbat; }