salat-first
Version:
Islamic prayer times calculation with special support for Moroccan methods and Maliki madhab
87 lines (86 loc) • 2.54 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_METHOD = exports.CalculationMethod = void 0;
/**
* Available prayer calculation methods
*/
var CalculationMethod;
(function (CalculationMethod) {
/**
* Muslim World League
*/
CalculationMethod["MuslimWorldLeague"] = "MuslimWorldLeague";
/**
* Egyptian General Authority of Survey
*/
CalculationMethod["Egyptian"] = "Egyptian";
/**
* University of Islamic Sciences, Karachi
*/
CalculationMethod["Karachi"] = "Karachi";
/**
* Umm al-Qura University, Makkah
*/
CalculationMethod["UmmAlQura"] = "UmmAlQura";
/**
* Dubai
*/
CalculationMethod["Dubai"] = "Dubai";
/**
* Moonsighting Committee
*/
CalculationMethod["MoonsightingCommittee"] = "MoonsightingCommittee";
/**
* North America (ISNA)
*/
CalculationMethod["NorthAmerica"] = "NorthAmerica";
/**
* Kuwait
*/
CalculationMethod["Kuwait"] = "Kuwait";
/**
* Qatar
*/
CalculationMethod["Qatar"] = "Qatar";
/**
* Singapore
*/
CalculationMethod["Singapore"] = "Singapore";
/**
* Tehran
*/
CalculationMethod["Tehran"] = "Tehran";
/**
* Turkey
*/
CalculationMethod["Turkey"] = "Turkey";
/**
* Moroccan Habous (Ministry of Islamic Affairs)
*/
CalculationMethod["MoroccanHabous"] = "MoroccanHabous";
/**
* Custom method
*/
CalculationMethod["Custom"] = "Custom";
})(CalculationMethod || (exports.CalculationMethod = CalculationMethod = {}));
/**
* The default calculation method
*/
exports.DEFAULT_METHOD = CalculationMethod.MoroccanHabous;
__exportStar(require("./standard"), exports);
__exportStar(require("./morocco"), exports);
__exportStar(require("./custom"), exports);