UNPKG

@hebcal/core

Version:

A perpetual Jewish Calendar API

27 lines (26 loc) 952 B
import { HDate } from '@hebcal/hdate'; import { Event } from './event'; import './locale'; /** Represents Mevarchim haChodesh, the announcement of the new month */ export declare class MevarchimChodeshEvent extends Event { readonly monthName: string; /** * Constructs Mevarchim haChodesh event * @param date Hebrew date event occurs * @param monthName Hebrew month name (not translated) * @param [memo] * @param locale Optional locale name */ constructor(date: HDate, monthName: string, memo: string, locale?: string); basename(): string; /** * Returns (translated) description of this event * @param [locale] Optional locale name (defaults to active locale). */ render(locale?: string): string; /** * Returns (translated) description of this event * @param [locale] Optional locale name (defaults to active locale). */ renderBrief(locale?: string): string; }