UNPKG

@hebcal/core

Version:

A perpetual Jewish Calendar API

24 lines (23 loc) 775 B
import { Event } from './event'; import { HDate } from '@hebcal/hdate'; import './locale'; /** * Represents one of 54 weekly Torah portions, always on a Saturday */ export declare class ParshaEvent extends Event { readonly parsha: string[]; readonly il: boolean; readonly num: number | number[]; /** * @param parsha - untranslated name of single or double parsha, * such as ['Bereshit'] or ['Achrei Mot', 'Kedoshim'] */ constructor(date: HDate, parsha: string[], il?: boolean, num?: number | number[]); /** * @param [locale] Optional locale name (i.e: `'he'`, `'fr'`). Defaults to active locale. */ render(locale?: string): string; basename(): string; url(): string | undefined; urlDateSuffix(): string; }