UNPKG

swedish-holidays

Version:

Library for calculating the date of all swedish holidays for any given year.

16 lines 694 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const holiday_names_sv_se_1 = __importDefault(require("../holiday-names.sv-se")); const fixed_1 = __importDefault(require("./fixed")); class Epiphany extends fixed_1.default { constructor({ year, language = holiday_names_sv_se_1.default } = { language: holiday_names_sv_se_1.default }) { super(Epiphany.day, Epiphany.month, language.epiphany, true, year); } } exports.default = Epiphany; Epiphany.day = 6; Epiphany.month = 1; //# sourceMappingURL=epiphany.js.map