swedish-holidays
Version:
Library for calculating the date of all swedish holidays for any given year.
12 lines (11 loc) • 337 B
TypeScript
import { Holiday, IHolidayOptions } from '../holidays.interface';
export default class MidsummerEve implements Holiday {
name: string;
year: number;
month: number;
day: number;
date: Date;
isPublicHoliday: boolean;
constructor({ year, language }?: IHolidayOptions);
static mightBe(date: Date): boolean;
}