@nesto-software/moment-holiday-austria
Version:
The austrian locale for moment-holiday.
38 lines • 1.64 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var moment_holiday_core_1 = require("@nesto-software/moment-holiday-core");
/**
* Indicates that the holiday is only applicable for people with one of the given
* religions.
*/
var ReligionTag = /** @class */ (function (_super) {
__extends(ReligionTag, _super);
function ReligionTag(_religionOrReligions) {
var _this = _super.call(this, _religionOrReligions) || this;
_this._religionOrReligions = _religionOrReligions;
return _this;
}
return ReligionTag;
}(moment_holiday_core_1.MultivalueTag));
exports.ReligionTag = ReligionTag;
var Religion;
(function (Religion) {
Religion["ENVANGELISCH_AB"] = "Evangelische Kirche A.B.";
Religion["ENVANGELISCH_HB"] = "Evangelische Kirche H.B.";
Religion["ALTKATHOLISCHE_KIRCHE"] = "Altkatholische Kirche";
Religion["EVANGELISCH_METHODISTISCH"] = "Evangelisch-methodistischen Kirche";
})(Religion = exports.Religion || (exports.Religion = {}));
//# sourceMappingURL=religion-tag.js.map