UNPKG

swedish-holidays

Version:

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

16 lines 695 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 MayFirst extends fixed_1.default { constructor({ year, language = holiday_names_sv_se_1.default } = { language: holiday_names_sv_se_1.default }) { super(MayFirst.day, MayFirst.month, language.mayFirst, true, year); } } exports.default = MayFirst; MayFirst.day = 1; MayFirst.month = 5; //# sourceMappingURL=may-first.js.map