@hebcal/core
Version:
A perpetual Jewish Calendar API
20 lines (19 loc) • 622 B
TypeScript
import { Event } from './event';
import { SedraResult } from './sedra';
import './locale';
/**
* Represents one of 54 weekly Torah portions, always on a Saturday
*/
export declare class ParshaEvent extends Event {
readonly p: SedraResult;
constructor(parsha: SedraResult);
/**
* @param [locale] Optional locale name (i.e: `'he'`, `'fr'`). Defaults to empty locale.
*/
render(locale?: string): string;
basename(): string;
url(): string | undefined;
urlDateSuffix(): string;
/** convenience function for compatibility with previous implementation */
get parsha(): string[];
}