UNPKG

bk-ad

Version:

Utility library to convert date in AD to Nepali date BS (Bikram sambat) and vice versa.

1,759 lines (1,754 loc) 1.11 MB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var Config = { maxBSYear: 2100, minBSYear: 1970, outputSeparator: "-", bsMonthTotalDaysCount: [ [30, 31], [31, 32], [31, 32], [31, 32], [31, 32], [30, 31], [29, 30], [29, 30], [29, 30], [29, 30], [29, 30], [30, 31], ], monthReferences: [ [0, 1, 1, 22, 1, 3, 1, 1, 1, 3, 1, 22, 1, 3, 1, 3, 1, 22, 1, 3, 1, 19, 1, 3, 1, 1, 3, 1, 2, 2, 1, 3, 1], [ 1, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 2, 2, 2, 3, 2, 2, 2, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 1, 3, 1, 1, 2, ], [ 0, 1, 2, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 3, 1, 1, 2, ], [ 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 2, 2, 1, 3, 1, 2, 2, 2, 1, 2, ], [59, 1, 26, 1, 28, 1, 2, 1, 12], [ 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 1, 1, 2, 2, 1, 3, 1, 2, 1, 2, ], [0, 12, 1, 3, 1, 3, 1, 5, 1, 11, 1, 3, 1, 3, 1, 18, 1, 3, 1, 3, 1, 18, 1, 3, 1, 3, 1, 27, 1, 2], [ 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 3, 1, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 15, 2, 4, ], [ 0, 1, 2, 2, 2, 2, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 3, 2, 2, 2, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 2, 2, 2, 15, 2, 4, ], [ 1, 1, 3, 1, 3, 1, 14, 1, 3, 1, 1, 1, 3, 1, 14, 1, 3, 1, 3, 1, 3, 1, 18, 1, 3, 1, 3, 1, 3, 1, 14, 1, 3, 15, 1, 2, 1, 1, ], [ 0, 1, 1, 3, 1, 3, 1, 10, 1, 3, 1, 3, 1, 1, 1, 3, 1, 3, 1, 10, 1, 3, 1, 3, 1, 3, 1, 3, 1, 14, 1, 3, 1, 3, 1, 3, 1, 3, 1, 10, 1, 20, 1, 1, 1, ], [ 1, 2, 2, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, 1, 20, 3, ], ], referenceDate: { AD: "1913-03-13", BS: "1970-01-01", }, }; var Validator = /** @class */ (function () { function Validator() { } Validator.dateType = function (type) { if (!["BS", "AD"].includes(type)) { throw new TypeError("Invalid date type. Only 'AD' or 'BS' type supported."); } return true; }; Validator.adYear = function (year) { var minAdYear = Config.minBSYear - 57; var maxAdYear = Config.maxBSYear - 57; if (year < minAdYear || year > maxAdYear) { throw new RangeError("AD year should be in range of " + minAdYear + " to " + maxAdYear); } }; Validator.adMonth = function (month) { if (month < 1 || month > 12) { throw new RangeError("AD month should be in range of 1 to 12"); } }; Validator.adDay = function (day) { if (day < 1 || day > 31) { throw new RangeError("AD day should be in range of 1 to 31"); } }; Validator.bsYear = function (year) { var midBsYear = Config.minBSYear; var maxBsYear = Config.maxBSYear; if (year < midBsYear || year > maxBsYear) { throw new RangeError("BS year should be in range of " + midBsYear + " to " + maxBsYear); } }; Validator.bsMonth = function (month) { if (month < 1 || month > 12) { throw new RangeError("BS month should be in range of 1 to 12"); } }; Validator.bsDay = function (day) { if (day < 1 || day > 32) { throw new RangeError("BS day should be in range of 1 to 32"); } }; return Validator; }()); var BikramSambat = /** @class */ (function () { function BikramSambat(date, type) { if (type === void 0) { type = "AD"; } this.dateType = "AD"; this.date = { year: 0, month: 0, day: 0 }; if (date) { this.setDate(date, type); } else { this.setDate(new Date()); } } BikramSambat.prototype.setDate = function (date, type) { if (type === void 0) { type = "AD"; } Validator.dateType(type); if (type === "BS") { if (typeof date !== "string") { throw new TypeError("BS date should be 'string' type."); } this.dateType = "BS"; this.date = this.splitBsDate(date); return this; } this.dateType = "AD"; this.date = this.splitAdDate(date); return this; }; BikramSambat.prototype.toAD = function () { if (this.dateType === "AD") { return this.format(this.date); } var totalDaysSince = this.totalDaysSince(); var _a = this.splitDate(Config.referenceDate.AD), year = _a.year, month = _a.month, day = _a.day; var adDate = new Date(year, month, day - 1); adDate.setDate(adDate.getDate() + totalDaysSince); return this.format(this.splitAdDate(adDate)); }; BikramSambat.prototype.toBS = function () { if (this.dateType === "BS") { return this.format(this.date); } var _a = this.date, adYear = _a.year, adMonth = _a.month, adDay = _a.day; var bsYear = adYear + 57; var bsMonth = (adMonth + 9) % 12 || 12; var bsDay = 1; if (adMonth < 4) { bsYear -= 1; } else if (adMonth === 4) { var bsNewYearAdDate = new BikramSambat(this.format({ year: bsYear, month: 1, day: 1 }), "BS").toAD(); if (adDay < new Date(bsNewYearAdDate).getDate()) { bsYear -= 1; } } var bsFirstDayOfMonthAdDate = new Date(new BikramSambat(this.format({ year: bsYear, month: bsMonth, day: 1 }), "BS").toAD()); if (adDay >= 1 && adDay < bsFirstDayOfMonthAdDate.getDate()) { bsMonth = bsMonth !== 1 ? bsMonth - 1 : 12; var daysInBSMonth = this.daysInBsMonth(bsYear, bsMonth); bsDay = daysInBSMonth - (bsFirstDayOfMonthAdDate.getDate() - adDay) + 1; } else { bsDay = adDay - bsFirstDayOfMonthAdDate.getDate() + 1; } return this.format({ year: bsYear, month: bsMonth, day: bsDay }); }; /** * Calculate total number of days since minimum reference date */ BikramSambat.prototype.totalDaysSince = function () { var _a = this.date, bsYear = _a.year, bsMonth = _a.month, bsDay = _a.day; var totalDays = 0; var diffInYears = bsYear - Config.minBSYear; for (var i = 1; i <= 12; i++) { totalDays += this.totalMonthDaysSince(i, i < bsMonth ? diffInYears + 1 : diffInYears); } if (bsYear > 2085 && bsYear < 2088) { totalDays += bsDay - 2; } else if (bsYear === 2085 && bsMonth > 5) { totalDays += bsDay - 2; } else if (bsYear === 2081 && bsMonth === 3) { totalDays += bsDay + 1; } else if (bsYear === 2081 && bsMonth === 12) { totalDays += bsDay - 1; } else if (bsYear > 2088) { totalDays += bsDay - 4; } else if (bsYear === 2088 && bsMonth > 5) { totalDays += bsDay - 4; } else { totalDays += bsDay; } return totalDays; }; /** * Total number of bsMonth days since minimum reference date * @param bsMonth * @param diffInYear */ BikramSambat.prototype.totalMonthDaysSince = function (bsMonth, diffInYear) { if (diffInYear === 0) { return 0; } var monthData = Config.monthReferences[bsMonth - 1]; var calculated = monthData.slice(0).reduce(function (total, monthDataItem, monthIndex, arr) { if (monthDataItem === 0) { return total; } var monthTotalDaysCountIndex = monthIndex % 2; if (diffInYear > total.year + monthDataItem) { total.year += monthDataItem; total.month += Config.bsMonthTotalDaysCount[bsMonth - 1][monthTotalDaysCountIndex] * monthDataItem; } else { total.month += Config.bsMonthTotalDaysCount[bsMonth - 1][monthTotalDaysCountIndex] * (diffInYear - total.year); total.year = diffInYear - total.year; arr.splice(1); // break; dont forget slice(0) before reducing https://stackoverflow.com/questions/36144406/how-to-break-on-reduce-method } return total; }, { month: 0, year: 0 }); return calculated.month; }; // noinspection JSMethodCanBeStatic /** * Returns total number of days in bsMonth for bsYear * @param bsYear * @param bsMonth */ BikramSambat.prototype.daysInBsMonth = function (bsYear, bsMonth) { var totalYears = bsYear + 1 - Config.minBSYear; var monthData = Config.monthReferences[bsMonth - 1]; var yearCount = 0; for (var i = 0; i < monthData.length; i++) { if (monthData[i] === 0) { continue; } var monthTotalDaysCountIndex = i % 2; yearCount += monthData[i]; if (totalYears <= yearCount) { if ((bsYear === 2085 && bsMonth === 5) || (bsYear === 2088 && bsMonth === 5)) { return (Config.bsMonthTotalDaysCount[bsMonth - 1][monthTotalDaysCountIndex] - 2); } else if (bsYear === 2081 && bsMonth === 2) { return Config.bsMonthTotalDaysCount[bsMonth - 1][monthTotalDaysCountIndex + 1]; } else if (bsYear === 2081 && bsMonth === 3) { return Config.bsMonthTotalDaysCount[bsMonth - 1][monthTotalDaysCountIndex - 1]; } else if (bsYear === 2081 && bsMonth === 11) { return (Config.bsMonthTotalDaysCount[bsMonth - 1][monthTotalDaysCountIndex] - 1); } else if (bsYear === 2081 && bsMonth === 12) { return (Config.bsMonthTotalDaysCount[bsMonth - 1][monthTotalDaysCountIndex] + 1); } else { return Config.bsMonthTotalDaysCount[bsMonth - 1][monthTotalDaysCountIndex]; } } } return 0; }; BikramSambat.prototype.splitDate = function (date) { // tslint:disable-next-line:radix var _a = date .replace(/\//g, "-") .split("-") .map(function (d) { return Math.floor(Number(d)); }), year = _a[0], month = _a[1], day = _a[2]; return { year: year, month: month, day: day }; }; // noinspection JSMethodCanBeStatic BikramSambat.prototype.splitAdDate = function (date) { if (typeof date === "string") { date = new Date(date); } var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); Validator.adYear(year); Validator.adMonth(month); Validator.adDay(day); return { year: year, month: month, day: day }; }; BikramSambat.prototype.splitBsDate = function (date) { var _a = this.splitDate(date), year = _a.year, month = _a.month, day = _a.day; Validator.bsYear(year); Validator.bsMonth(month); Validator.bsDay(day); return { year: year, month: month, day: day }; }; BikramSambat.prototype.format = function (date) { var separator = Config.outputSeparator; var year = date.year, month = date.month, day = date.day; return "" + year + separator + this.zeroPad(month) + separator + this.zeroPad(day); }; // noinspection JSMethodCanBeStatic BikramSambat.prototype.zeroPad = function (x) { return x > 9 ? "" + x : "0" + x; }; return BikramSambat; }()); var adbsMap = { "1943-04-14": "2000-01-01", "1943-04-15": "2000-01-02", "1943-04-16": "2000-01-03", "1943-04-17": "2000-01-04", "1943-04-18": "2000-01-05", "1943-04-19": "2000-01-06", "1943-04-20": "2000-01-07", "1943-04-21": "2000-01-08", "1943-04-22": "2000-01-09", "1943-04-23": "2000-01-10", "1943-04-24": "2000-01-11", "1943-04-25": "2000-01-12", "1943-04-26": "2000-01-13", "1943-04-27": "2000-01-14", "1943-04-28": "2000-01-15", "1943-04-29": "2000-01-16", "1943-04-30": "2000-01-17", "1943-05-01": "2000-01-18", "1943-05-02": "2000-01-19", "1943-05-03": "2000-01-20", "1943-05-04": "2000-01-21", "1943-05-05": "2000-01-22", "1943-05-06": "2000-01-23", "1943-05-07": "2000-01-24", "1943-05-08": "2000-01-25", "1943-05-09": "2000-01-26", "1943-05-10": "2000-01-27", "1943-05-11": "2000-01-28", "1943-05-12": "2000-01-29", "1943-05-13": "2000-01-30", "1943-05-14": "2000-02-01", "1943-05-15": "2000-02-02", "1943-05-16": "2000-02-03", "1943-05-17": "2000-02-04", "1943-05-18": "2000-02-05", "1943-05-19": "2000-02-06", "1943-05-20": "2000-02-07", "1943-05-21": "2000-02-08", "1943-05-22": "2000-02-09", "1943-05-23": "2000-02-10", "1943-05-24": "2000-02-11", "1943-05-25": "2000-02-12", "1943-05-26": "2000-02-13", "1943-05-27": "2000-02-14", "1943-05-28": "2000-02-15", "1943-05-29": "2000-02-16", "1943-05-30": "2000-02-17", "1943-05-31": "2000-02-18", "1943-06-01": "2000-02-19", "1943-06-02": "2000-02-20", "1943-06-03": "2000-02-21", "1943-06-04": "2000-02-22", "1943-06-05": "2000-02-23", "1943-06-06": "2000-02-24", "1943-06-07": "2000-02-25", "1943-06-08": "2000-02-26", "1943-06-09": "2000-02-27", "1943-06-10": "2000-02-28", "1943-06-11": "2000-02-29", "1943-06-12": "2000-02-30", "1943-06-13": "2000-02-31", "1943-06-14": "2000-02-32", "1943-06-15": "2000-03-01", "1943-06-16": "2000-03-02", "1943-06-17": "2000-03-03", "1943-06-18": "2000-03-04", "1943-06-19": "2000-03-05", "1943-06-20": "2000-03-06", "1943-06-21": "2000-03-07", "1943-06-22": "2000-03-08", "1943-06-23": "2000-03-09", "1943-06-24": "2000-03-10", "1943-06-25": "2000-03-11", "1943-06-26": "2000-03-12", "1943-06-27": "2000-03-13", "1943-06-28": "2000-03-14", "1943-06-29": "2000-03-15", "1943-06-30": "2000-03-16", "1943-07-01": "2000-03-17", "1943-07-02": "2000-03-18", "1943-07-03": "2000-03-19", "1943-07-04": "2000-03-20", "1943-07-05": "2000-03-21", "1943-07-06": "2000-03-22", "1943-07-07": "2000-03-23", "1943-07-08": "2000-03-24", "1943-07-09": "2000-03-25", "1943-07-10": "2000-03-26", "1943-07-11": "2000-03-27", "1943-07-12": "2000-03-28", "1943-07-13": "2000-03-29", "1943-07-14": "2000-03-30", "1943-07-15": "2000-03-31", "1943-07-16": "2000-04-01", "1943-07-17": "2000-04-02", "1943-07-18": "2000-04-03", "1943-07-19": "2000-04-04", "1943-07-20": "2000-04-05", "1943-07-21": "2000-04-06", "1943-07-22": "2000-04-07", "1943-07-23": "2000-04-08", "1943-07-24": "2000-04-09", "1943-07-25": "2000-04-10", "1943-07-26": "2000-04-11", "1943-07-27": "2000-04-12", "1943-07-28": "2000-04-13", "1943-07-29": "2000-04-14", "1943-07-30": "2000-04-15", "1943-07-31": "2000-04-16", "1943-08-01": "2000-04-17", "1943-08-02": "2000-04-18", "1943-08-03": "2000-04-19", "1943-08-04": "2000-04-20", "1943-08-05": "2000-04-21", "1943-08-06": "2000-04-22", "1943-08-07": "2000-04-23", "1943-08-08": "2000-04-24", "1943-08-09": "2000-04-25", "1943-08-10": "2000-04-26", "1943-08-11": "2000-04-27", "1943-08-12": "2000-04-28", "1943-08-13": "2000-04-29", "1943-08-14": "2000-04-30", "1943-08-15": "2000-04-31", "1943-08-16": "2000-04-32", "1943-08-17": "2000-05-01", "1943-08-18": "2000-05-02", "1943-08-19": "2000-05-03", "1943-08-20": "2000-05-04", "1943-08-21": "2000-05-05", "1943-08-22": "2000-05-06", "1943-08-23": "2000-05-07", "1943-08-24": "2000-05-08", "1943-08-25": "2000-05-09", "1943-08-26": "2000-05-10", "1943-08-27": "2000-05-11", "1943-08-28": "2000-05-12", "1943-08-29": "2000-05-13", "1943-08-30": "2000-05-14", "1943-08-31": "2000-05-15", "1943-09-01": "2000-05-16", "1943-09-02": "2000-05-17", "1943-09-03": "2000-05-18", "1943-09-04": "2000-05-19", "1943-09-05": "2000-05-20", "1943-09-06": "2000-05-21", "1943-09-07": "2000-05-22", "1943-09-08": "2000-05-23", "1943-09-09": "2000-05-24", "1943-09-10": "2000-05-25", "1943-09-11": "2000-05-26", "1943-09-12": "2000-05-27", "1943-09-13": "2000-05-28", "1943-09-14": "2000-05-29", "1943-09-15": "2000-05-30", "1943-09-16": "2000-05-31", "1943-09-17": "2000-06-01", "1943-09-18": "2000-06-02", "1943-09-19": "2000-06-03", "1943-09-20": "2000-06-04", "1943-09-21": "2000-06-05", "1943-09-22": "2000-06-06", "1943-09-23": "2000-06-07", "1943-09-24": "2000-06-08", "1943-09-25": "2000-06-09", "1943-09-26": "2000-06-10", "1943-09-27": "2000-06-11", "1943-09-28": "2000-06-12", "1943-09-29": "2000-06-13", "1943-09-30": "2000-06-14", "1943-10-01": "2000-06-15", "1943-10-02": "2000-06-16", "1943-10-03": "2000-06-17", "1943-10-04": "2000-06-18", "1943-10-05": "2000-06-19", "1943-10-06": "2000-06-20", "1943-10-07": "2000-06-21", "1943-10-08": "2000-06-22", "1943-10-09": "2000-06-23", "1943-10-10": "2000-06-24", "1943-10-11": "2000-06-25", "1943-10-12": "2000-06-26", "1943-10-13": "2000-06-27", "1943-10-14": "2000-06-28", "1943-10-15": "2000-06-29", "1943-10-16": "2000-06-30", "1943-10-17": "2000-07-01", "1943-10-18": "2000-07-02", "1943-10-19": "2000-07-03", "1943-10-20": "2000-07-04", "1943-10-21": "2000-07-05", "1943-10-22": "2000-07-06", "1943-10-23": "2000-07-07", "1943-10-24": "2000-07-08", "1943-10-25": "2000-07-09", "1943-10-26": "2000-07-10", "1943-10-27": "2000-07-11", "1943-10-28": "2000-07-12", "1943-10-29": "2000-07-13", "1943-10-30": "2000-07-14", "1943-10-31": "2000-07-15", "1943-11-01": "2000-07-16", "1943-11-02": "2000-07-17", "1943-11-03": "2000-07-18", "1943-11-04": "2000-07-19", "1943-11-05": "2000-07-20", "1943-11-06": "2000-07-21", "1943-11-07": "2000-07-22", "1943-11-08": "2000-07-23", "1943-11-09": "2000-07-24", "1943-11-10": "2000-07-25", "1943-11-11": "2000-07-26", "1943-11-12": "2000-07-27", "1943-11-13": "2000-07-28", "1943-11-14": "2000-07-29", "1943-11-15": "2000-07-30", "1943-11-16": "2000-08-01", "1943-11-17": "2000-08-02", "1943-11-18": "2000-08-03", "1943-11-19": "2000-08-04", "1943-11-20": "2000-08-05", "1943-11-21": "2000-08-06", "1943-11-22": "2000-08-07", "1943-11-23": "2000-08-08", "1943-11-24": "2000-08-09", "1943-11-25": "2000-08-10", "1943-11-26": "2000-08-11", "1943-11-27": "2000-08-12", "1943-11-28": "2000-08-13", "1943-11-29": "2000-08-14", "1943-11-30": "2000-08-15", "1943-12-01": "2000-08-16", "1943-12-02": "2000-08-17", "1943-12-03": "2000-08-18", "1943-12-04": "2000-08-19", "1943-12-05": "2000-08-20", "1943-12-06": "2000-08-21", "1943-12-07": "2000-08-22", "1943-12-08": "2000-08-23", "1943-12-09": "2000-08-24", "1943-12-10": "2000-08-25", "1943-12-11": "2000-08-26", "1943-12-12": "2000-08-27", "1943-12-13": "2000-08-28", "1943-12-14": "2000-08-29", "1943-12-15": "2000-08-30", "1943-12-16": "2000-09-01", "1943-12-17": "2000-09-02", "1943-12-18": "2000-09-03", "1943-12-19": "2000-09-04", "1943-12-20": "2000-09-05", "1943-12-21": "2000-09-06", "1943-12-22": "2000-09-07", "1943-12-23": "2000-09-08", "1943-12-24": "2000-09-09", "1943-12-25": "2000-09-10", "1943-12-26": "2000-09-11", "1943-12-27": "2000-09-12", "1943-12-28": "2000-09-13", "1943-12-29": "2000-09-14", "1943-12-30": "2000-09-15", "1943-12-31": "2000-09-16", "1944-01-01": "2000-09-17", "1944-01-02": "2000-09-18", "1944-01-03": "2000-09-19", "1944-01-04": "2000-09-20", "1944-01-05": "2000-09-21", "1944-01-06": "2000-09-22", "1944-01-07": "2000-09-23", "1944-01-08": "2000-09-24", "1944-01-09": "2000-09-25", "1944-01-10": "2000-09-26", "1944-01-11": "2000-09-27", "1944-01-12": "2000-09-28", "1944-01-13": "2000-09-29", "1944-01-14": "2000-10-01", "1944-01-15": "2000-10-02", "1944-01-16": "2000-10-03", "1944-01-17": "2000-10-04", "1944-01-18": "2000-10-05", "1944-01-19": "2000-10-06", "1944-01-20": "2000-10-07", "1944-01-21": "2000-10-08", "1944-01-22": "2000-10-09", "1944-01-23": "2000-10-10", "1944-01-24": "2000-10-11", "1944-01-25": "2000-10-12", "1944-01-26": "2000-10-13", "1944-01-27": "2000-10-14", "1944-01-28": "2000-10-15", "1944-01-29": "2000-10-16", "1944-01-30": "2000-10-17", "1944-01-31": "2000-10-18", "1944-02-01": "2000-10-19", "1944-02-02": "2000-10-20", "1944-02-03": "2000-10-21", "1944-02-04": "2000-10-22", "1944-02-05": "2000-10-23", "1944-02-06": "2000-10-24", "1944-02-07": "2000-10-25", "1944-02-08": "2000-10-26", "1944-02-09": "2000-10-27", "1944-02-10": "2000-10-28", "1944-02-11": "2000-10-29", "1944-02-12": "2000-10-30", "1944-02-13": "2000-11-01", "1944-02-14": "2000-11-02", "1944-02-15": "2000-11-03", "1944-02-16": "2000-11-04", "1944-02-17": "2000-11-05", "1944-02-18": "2000-11-06", "1944-02-19": "2000-11-07", "1944-02-20": "2000-11-08", "1944-02-21": "2000-11-09", "1944-02-22": "2000-11-10", "1944-02-23": "2000-11-11", "1944-02-24": "2000-11-12", "1944-02-25": "2000-11-13", "1944-02-26": "2000-11-14", "1944-02-27": "2000-11-15", "1944-02-28": "2000-11-16", "1944-02-29": "2000-11-17", "1944-03-01": "2000-11-18", "1944-03-02": "2000-11-19", "1944-03-03": "2000-11-20", "1944-03-04": "2000-11-21", "1944-03-05": "2000-11-22", "1944-03-06": "2000-11-23", "1944-03-07": "2000-11-24", "1944-03-08": "2000-11-25", "1944-03-09": "2000-11-26", "1944-03-10": "2000-11-27", "1944-03-11": "2000-11-28", "1944-03-12": "2000-11-29", "1944-03-13": "2000-12-01", "1944-03-14": "2000-12-02", "1944-03-15": "2000-12-03", "1944-03-16": "2000-12-04", "1944-03-17": "2000-12-05", "1944-03-18": "2000-12-06", "1944-03-19": "2000-12-07", "1944-03-20": "2000-12-08", "1944-03-21": "2000-12-09", "1944-03-22": "2000-12-10", "1944-03-23": "2000-12-11", "1944-03-24": "2000-12-12", "1944-03-25": "2000-12-13", "1944-03-26": "2000-12-14", "1944-03-27": "2000-12-15", "1944-03-28": "2000-12-16", "1944-03-29": "2000-12-17", "1944-03-30": "2000-12-18", "1944-03-31": "2000-12-19", "1944-04-01": "2000-12-20", "1944-04-02": "2000-12-21", "1944-04-03": "2000-12-22", "1944-04-04": "2000-12-23", "1944-04-05": "2000-12-24", "1944-04-06": "2000-12-25", "1944-04-07": "2000-12-26", "1944-04-08": "2000-12-27", "1944-04-09": "2000-12-28", "1944-04-10": "2000-12-29", "1944-04-11": "2000-12-30", "1944-04-12": "2000-12-31", "1944-04-13": "2001-01-01", "1944-04-14": "2001-01-02", "1944-04-15": "2001-01-03", "1944-04-16": "2001-01-04", "1944-04-17": "2001-01-05", "1944-04-18": "2001-01-06", "1944-04-19": "2001-01-07", "1944-04-20": "2001-01-08", "1944-04-21": "2001-01-09", "1944-04-22": "2001-01-10", "1944-04-23": "2001-01-11", "1944-04-24": "2001-01-12", "1944-04-25": "2001-01-13", "1944-04-26": "2001-01-14", "1944-04-27": "2001-01-15", "1944-04-28": "2001-01-16", "1944-04-29": "2001-01-17", "1944-04-30": "2001-01-18", "1944-05-01": "2001-01-19", "1944-05-02": "2001-01-20", "1944-05-03": "2001-01-21", "1944-05-04": "2001-01-22", "1944-05-05": "2001-01-23", "1944-05-06": "2001-01-24", "1944-05-07": "2001-01-25", "1944-05-08": "2001-01-26", "1944-05-09": "2001-01-27", "1944-05-10": "2001-01-28", "1944-05-11": "2001-01-29", "1944-05-12": "2001-01-30", "1944-05-13": "2001-01-31", "1944-05-14": "2001-02-01", "1944-05-15": "2001-02-02", "1944-05-16": "2001-02-03", "1944-05-17": "2001-02-04", "1944-05-18": "2001-02-05", "1944-05-19": "2001-02-06", "1944-05-20": "2001-02-07", "1944-05-21": "2001-02-08", "1944-05-22": "2001-02-09", "1944-05-23": "2001-02-10", "1944-05-24": "2001-02-11", "1944-05-25": "2001-02-12", "1944-05-26": "2001-02-13", "1944-05-27": "2001-02-14", "1944-05-28": "2001-02-15", "1944-05-29": "2001-02-16", "1944-05-30": "2001-02-17", "1944-05-31": "2001-02-18", "1944-06-01": "2001-02-19", "1944-06-02": "2001-02-20", "1944-06-03": "2001-02-21", "1944-06-04": "2001-02-22", "1944-06-05": "2001-02-23", "1944-06-06": "2001-02-24", "1944-06-07": "2001-02-25", "1944-06-08": "2001-02-26", "1944-06-09": "2001-02-27", "1944-06-10": "2001-02-28", "1944-06-11": "2001-02-29", "1944-06-12": "2001-02-30", "1944-06-13": "2001-02-31", "1944-06-14": "2001-03-01", "1944-06-15": "2001-03-02", "1944-06-16": "2001-03-03", "1944-06-17": "2001-03-04", "1944-06-18": "2001-03-05", "1944-06-19": "2001-03-06", "1944-06-20": "2001-03-07", "1944-06-21": "2001-03-08", "1944-06-22": "2001-03-09", "1944-06-23": "2001-03-10", "1944-06-24": "2001-03-11", "1944-06-25": "2001-03-12", "1944-06-26": "2001-03-13", "1944-06-27": "2001-03-14", "1944-06-28": "2001-03-15", "1944-06-29": "2001-03-16", "1944-06-30": "2001-03-17", "1944-07-01": "2001-03-18", "1944-07-02": "2001-03-19", "1944-07-03": "2001-03-20", "1944-07-04": "2001-03-21", "1944-07-05": "2001-03-22", "1944-07-06": "2001-03-23", "1944-07-07": "2001-03-24", "1944-07-08": "2001-03-25", "1944-07-09": "2001-03-26", "1944-07-10": "2001-03-27", "1944-07-11": "2001-03-28", "1944-07-12": "2001-03-29", "1944-07-13": "2001-03-30", "1944-07-14": "2001-03-31", "1944-07-15": "2001-03-32", "1944-07-16": "2001-04-01", "1944-07-17": "2001-04-02", "1944-07-18": "2001-04-03", "1944-07-19": "2001-04-04", "1944-07-20": "2001-04-05", "1944-07-21": "2001-04-06", "1944-07-22": "2001-04-07", "1944-07-23": "2001-04-08", "1944-07-24": "2001-04-09", "1944-07-25": "2001-04-10", "1944-07-26": "2001-04-11", "1944-07-27": "2001-04-12", "1944-07-28": "2001-04-13", "1944-07-29": "2001-04-14", "1944-07-30": "2001-04-15", "1944-07-31": "2001-04-16", "1944-08-01": "2001-04-17", "1944-08-02": "2001-04-18", "1944-08-03": "2001-04-19", "1944-08-04": "2001-04-20", "1944-08-05": "2001-04-21", "1944-08-06": "2001-04-22", "1944-08-07": "2001-04-23", "1944-08-08": "2001-04-24", "1944-08-09": "2001-04-25", "1944-08-10": "2001-04-26", "1944-08-11": "2001-04-27", "1944-08-12": "2001-04-28", "1944-08-13": "2001-04-29", "1944-08-14": "2001-04-30", "1944-08-15": "2001-04-31", "1944-08-16": "2001-05-01", "1944-08-17": "2001-05-02", "1944-08-18": "2001-05-03", "1944-08-19": "2001-05-04", "1944-08-20": "2001-05-05", "1944-08-21": "2001-05-06", "1944-08-22": "2001-05-07", "1944-08-23": "2001-05-08", "1944-08-24": "2001-05-09", "1944-08-25": "2001-05-10", "1944-08-26": "2001-05-11", "1944-08-27": "2001-05-12", "1944-08-28": "2001-05-13", "1944-08-29": "2001-05-14", "1944-08-30": "2001-05-15", "1944-08-31": "2001-05-16", "1944-09-01": "2001-05-17", "1944-09-02": "2001-05-18", "1944-09-03": "2001-05-19", "1944-09-04": "2001-05-20", "1944-09-05": "2001-05-21", "1944-09-06": "2001-05-22", "1944-09-07": "2001-05-23", "1944-09-08": "2001-05-24", "1944-09-09": "2001-05-25", "1944-09-10": "2001-05-26", "1944-09-11": "2001-05-27", "1944-09-12": "2001-05-28", "1944-09-13": "2001-05-29", "1944-09-14": "2001-05-30", "1944-09-15": "2001-05-31", "1944-09-16": "2001-06-01", "1944-09-17": "2001-06-02", "1944-09-18": "2001-06-03", "1944-09-19": "2001-06-04", "1944-09-20": "2001-06-05", "1944-09-21": "2001-06-06", "1944-09-22": "2001-06-07", "1944-09-23": "2001-06-08", "1944-09-24": "2001-06-09", "1944-09-25": "2001-06-10", "1944-09-26": "2001-06-11", "1944-09-27": "2001-06-12", "1944-09-28": "2001-06-13", "1944-09-29": "2001-06-14", "1944-09-30": "2001-06-15", "1944-10-01": "2001-06-16", "1944-10-02": "2001-06-17", "1944-10-03": "2001-06-18", "1944-10-04": "2001-06-19", "1944-10-05": "2001-06-20", "1944-10-06": "2001-06-21", "1944-10-07": "2001-06-22", "1944-10-08": "2001-06-23", "1944-10-09": "2001-06-24", "1944-10-10": "2001-06-25", "1944-10-11": "2001-06-26", "1944-10-12": "2001-06-27", "1944-10-13": "2001-06-28", "1944-10-14": "2001-06-29", "1944-10-15": "2001-06-30", "1944-10-16": "2001-06-31", "1944-10-17": "2001-07-01", "1944-10-18": "2001-07-02", "1944-10-19": "2001-07-03", "1944-10-20": "2001-07-04", "1944-10-21": "2001-07-05", "1944-10-22": "2001-07-06", "1944-10-23": "2001-07-07", "1944-10-24": "2001-07-08", "1944-10-25": "2001-07-09", "1944-10-26": "2001-07-10", "1944-10-27": "2001-07-11", "1944-10-28": "2001-07-12", "1944-10-29": "2001-07-13", "1944-10-30": "2001-07-14", "1944-10-31": "2001-07-15", "1944-11-01": "2001-07-16", "1944-11-02": "2001-07-17", "1944-11-03": "2001-07-18", "1944-11-04": "2001-07-19", "1944-11-05": "2001-07-20", "1944-11-06": "2001-07-21", "1944-11-07": "2001-07-22", "1944-11-08": "2001-07-23", "1944-11-09": "2001-07-24", "1944-11-10": "2001-07-25", "1944-11-11": "2001-07-26", "1944-11-12": "2001-07-27", "1944-11-13": "2001-07-28", "1944-11-14": "2001-07-29", "1944-11-15": "2001-07-30", "1944-11-16": "2001-08-01", "1944-11-17": "2001-08-02", "1944-11-18": "2001-08-03", "1944-11-19": "2001-08-04", "1944-11-20": "2001-08-05", "1944-11-21": "2001-08-06", "1944-11-22": "2001-08-07", "1944-11-23": "2001-08-08", "1944-11-24": "2001-08-09", "1944-11-25": "2001-08-10", "1944-11-26": "2001-08-11", "1944-11-27": "2001-08-12", "1944-11-28": "2001-08-13", "1944-11-29": "2001-08-14", "1944-11-30": "2001-08-15", "1944-12-01": "2001-08-16", "1944-12-02": "2001-08-17", "1944-12-03": "2001-08-18", "1944-12-04": "2001-08-19", "1944-12-05": "2001-08-20", "1944-12-06": "2001-08-21", "1944-12-07": "2001-08-22", "1944-12-08": "2001-08-23", "1944-12-09": "2001-08-24", "1944-12-10": "2001-08-25", "1944-12-11": "2001-08-26", "1944-12-12": "2001-08-27", "1944-12-13": "2001-08-28", "1944-12-14": "2001-08-29", "1944-12-15": "2001-09-01", "1944-12-16": "2001-09-02", "1944-12-17": "2001-09-03", "1944-12-18": "2001-09-04", "1944-12-19": "2001-09-05", "1944-12-20": "2001-09-06", "1944-12-21": "2001-09-07", "1944-12-22": "2001-09-08", "1944-12-23": "2001-09-09", "1944-12-24": "2001-09-10", "1944-12-25": "2001-09-11", "1944-12-26": "2001-09-12", "1944-12-27": "2001-09-13", "1944-12-28": "2001-09-14", "1944-12-29": "2001-09-15", "1944-12-30": "2001-09-16", "1944-12-31": "2001-09-17", "1945-01-01": "2001-09-18", "1945-01-02": "2001-09-19", "1945-01-03": "2001-09-20", "1945-01-04": "2001-09-21", "1945-01-05": "2001-09-22", "1945-01-06": "2001-09-23", "1945-01-07": "2001-09-24", "1945-01-08": "2001-09-25", "1945-01-09": "2001-09-26", "1945-01-10": "2001-09-27", "1945-01-11": "2001-09-28", "1945-01-12": "2001-09-29", "1945-01-13": "2001-09-30", "1945-01-14": "2001-10-01", "1945-01-15": "2001-10-02", "1945-01-16": "2001-10-03", "1945-01-17": "2001-10-04", "1945-01-18": "2001-10-05", "1945-01-19": "2001-10-06", "1945-01-20": "2001-10-07", "1945-01-21": "2001-10-08", "1945-01-22": "2001-10-09", "1945-01-23": "2001-10-10", "1945-01-24": "2001-10-11", "1945-01-25": "2001-10-12", "1945-01-26": "2001-10-13", "1945-01-27": "2001-10-14", "1945-01-28": "2001-10-15", "1945-01-29": "2001-10-16", "1945-01-30": "2001-10-17", "1945-01-31": "2001-10-18", "1945-02-01": "2001-10-19", "1945-02-02": "2001-10-20", "1945-02-03": "2001-10-21", "1945-02-04": "2001-10-22", "1945-02-05": "2001-10-23", "1945-02-06": "2001-10-24", "1945-02-07": "2001-10-25", "1945-02-08": "2001-10-26", "1945-02-09": "2001-10-27", "1945-02-10": "2001-10-28", "1945-02-11": "2001-10-29", "1945-02-12": "2001-11-01", "1945-02-13": "2001-11-02", "1945-02-14": "2001-11-03", "1945-02-15": "2001-11-04", "1945-02-16": "2001-11-05", "1945-02-17": "2001-11-06", "1945-02-18": "2001-11-07", "1945-02-19": "2001-11-08", "1945-02-20": "2001-11-09", "1945-02-21": "2001-11-10", "1945-02-22": "2001-11-11", "1945-02-23": "2001-11-12", "1945-02-24": "2001-11-13", "1945-02-25": "2001-11-14", "1945-02-26": "2001-11-15", "1945-02-27": "2001-11-16", "1945-02-28": "2001-11-17", "1945-03-01": "2001-11-18", "1945-03-02": "2001-11-19", "1945-03-03": "2001-11-20", "1945-03-04": "2001-11-21", "1945-03-05": "2001-11-22", "1945-03-06": "2001-11-23", "1945-03-07": "2001-11-24", "1945-03-08": "2001-11-25", "1945-03-09": "2001-11-26", "1945-03-10": "2001-11-27", "1945-03-11": "2001-11-28", "1945-03-12": "2001-11-29", "1945-03-13": "2001-11-30", "1945-03-14": "2001-12-01", "1945-03-15": "2001-12-02", "1945-03-16": "2001-12-03", "1945-03-17": "2001-12-04", "1945-03-18": "2001-12-05", "1945-03-19": "2001-12-06", "1945-03-20": "2001-12-07", "1945-03-21": "2001-12-08", "1945-03-22": "2001-12-09", "1945-03-23": "2001-12-10", "1945-03-24": "2001-12-11", "1945-03-25": "2001-12-12", "1945-03-26": "2001-12-13", "1945-03-27": "2001-12-14", "1945-03-28": "2001-12-15", "1945-03-29": "2001-12-16", "1945-03-30": "2001-12-17", "1945-03-31": "2001-12-18", "1945-04-01": "2001-12-19", "1945-04-02": "2001-12-20", "1945-04-03": "2001-12-21", "1945-04-04": "2001-12-22", "1945-04-05": "2001-12-23", "1945-04-06": "2001-12-24", "1945-04-07": "2001-12-25", "1945-04-08": "2001-12-26", "1945-04-09": "2001-12-27", "1945-04-10": "2001-12-28", "1945-04-11": "2001-12-29", "1945-04-12": "2001-12-30", "1945-04-13": "2002-01-01", "1945-04-14": "2002-01-02", "1945-04-15": "2002-01-03", "1945-04-16": "2002-01-04", "1945-04-17": "2002-01-05", "1945-04-18": "2002-01-06", "1945-04-19": "2002-01-07", "1945-04-20": "2002-01-08", "1945-04-21": "2002-01-09", "1945-04-22": "2002-01-10", "1945-04-23": "2002-01-11", "1945-04-24": "2002-01-12", "1945-04-25": "2002-01-13", "1945-04-26": "2002-01-14", "1945-04-27": "2002-01-15", "1945-04-28": "2002-01-16", "1945-04-29": "2002-01-17", "1945-04-30": "2002-01-18", "1945-05-01": "2002-01-19", "1945-05-02": "2002-01-20", "1945-05-03": "2002-01-21", "1945-05-04": "2002-01-22", "1945-05-05": "2002-01-23", "1945-05-06": "2002-01-24", "1945-05-07": "2002-01-25", "1945-05-08": "2002-01-26", "1945-05-09": "2002-01-27", "1945-05-10": "2002-01-28", "1945-05-11": "2002-01-29", "1945-05-12": "2002-01-30", "1945-05-13": "2002-01-31", "1945-05-14": "2002-02-01", "1945-05-15": "2002-02-02", "1945-05-16": "2002-02-03", "1945-05-17": "2002-02-04", "1945-05-18": "2002-02-05", "1945-05-19": "2002-02-06", "1945-05-20": "2002-02-07", "1945-05-21": "2002-02-08", "1945-05-22": "2002-02-09", "1945-05-23": "2002-02-10", "1945-05-24": "2002-02-11", "1945-05-25": "2002-02-12", "1945-05-26": "2002-02-13", "1945-05-27": "2002-02-14", "1945-05-28": "2002-02-15", "1945-05-29": "2002-02-16", "1945-05-30": "2002-02-17", "1945-05-31": "2002-02-18", "1945-06-01": "2002-02-19", "1945-06-02": "2002-02-20", "1945-06-03": "2002-02-21", "1945-06-04": "2002-02-22", "1945-06-05": "2002-02-23", "1945-06-06": "2002-02-24", "1945-06-07": "2002-02-25", "1945-06-08": "2002-02-26", "1945-06-09": "2002-02-27", "1945-06-10": "2002-02-28", "1945-06-11": "2002-02-29", "1945-06-12": "2002-02-30", "1945-06-13": "2002-02-31", "1945-06-14": "2002-03-01", "1945-06-15": "2002-03-02", "1945-06-16": "2002-03-03", "1945-06-17": "2002-03-04", "1945-06-18": "2002-03-05", "1945-06-19": "2002-03-06", "1945-06-20": "2002-03-07", "1945-06-21": "2002-03-08", "1945-06-22": "2002-03-09", "1945-06-23": "2002-03-10", "1945-06-24": "2002-03-11", "1945-06-25": "2002-03-12", "1945-06-26": "2002-03-13", "1945-06-27": "2002-03-14", "1945-06-28": "2002-03-15", "1945-06-29": "2002-03-16", "1945-06-30": "2002-03-17", "1945-07-01": "2002-03-18", "1945-07-02": "2002-03-19", "1945-07-03": "2002-03-20", "1945-07-04": "2002-03-21", "1945-07-05": "2002-03-22", "1945-07-06": "2002-03-23", "1945-07-07": "2002-03-24", "1945-07-08": "2002-03-25", "1945-07-09": "2002-03-26", "1945-07-10": "2002-03-27", "1945-07-11": "2002-03-28", "1945-07-12": "2002-03-29", "1945-07-13": "2002-03-30", "1945-07-14": "2002-03-31", "1945-07-15": "2002-03-32", "1945-07-16": "2002-04-01", "1945-07-17": "2002-04-02", "1945-07-18": "2002-04-03", "1945-07-19": "2002-04-04", "1945-07-20": "2002-04-05", "1945-07-21": "2002-04-06", "1945-07-22": "2002-04-07", "1945-07-23": "2002-04-08", "1945-07-24": "2002-04-09", "1945-07-25": "2002-04-10", "1945-07-26": "2002-04-11", "1945-07-27": "2002-04-12", "1945-07-28": "2002-04-13", "1945-07-29": "2002-04-14", "1945-07-30": "2002-04-15", "1945-07-31": "2002-04-16", "1945-08-01": "2002-04-17", "1945-08-02": "2002-04-18", "1945-08-03": "2002-04-19", "1945-08-04": "2002-04-20", "1945-08-05": "2002-04-21", "1945-08-06": "2002-04-22", "1945-08-07": "2002-04-23", "1945-08-08": "2002-04-24", "1945-08-09": "2002-04-25", "1945-08-10": "2002-04-26", "1945-08-11": "2002-04-27", "1945-08-12": "2002-04-28", "1945-08-13": "2002-04-29", "1945-08-14": "2002-04-30", "1945-08-15": "2002-04-31", "1945-08-16": "2002-04-32", "1945-08-17": "2002-05-01", "1945-08-18": "2002-05-02", "1945-08-19": "2002-05-03", "1945-08-20": "2002-05-04", "1945-08-21": "2002-05-05", "1945-08-22": "2002-05-06", "1945-08-23": "2002-05-07", "1945-08-24": "2002-05-08", "1945-08-25": "2002-05-09", "1945-08-26": "2002-05-10", "1945-08-27": "2002-05-11", "1945-08-28": "2002-05-12", "1945-08-29": "2002-05-13", "1945-08-30": "2002-05-14", "1945-08-31": "2002-05-15", "1945-09-01": "2002-05-16", "1945-09-02": "2002-05-17", "1945-09-03": "2002-05-18", "1945-09-04": "2002-05-19", "1945-09-05": "2002-05-20", "1945-09-06": "2002-05-21", "1945-09-07": "2002-05-22", "1945-09-08": "2002-05-23", "1945-09-09": "2002-05-24", "1945-09-10": "2002-05-25", "1945-09-11": "2002-05-26", "1945-09-12": "2002-05-27", "1945-09-13": "2002-05-28", "1945-09-14": "2002-05-29", "1945-09-15": "2002-05-30", "1945-09-16": "2002-05-31", "1945-09-17": "2002-06-01", "1945-09-18": "2002-06-02", "1945-09-19": "2002-06-03", "1945-09-20": "2002-06-04", "1945-09-21": "2002-06-05", "1945-09-22": "2002-06-06", "1945-09-23": "2002-06-07", "1945-09-24": "2002-06-08", "1945-09-25": "2002-06-09", "1945-09-26": "2002-06-10", "1945-09-27": "2002-06-11", "1945-09-28": "2002-06-12", "1945-09-29": "2002-06-13", "1945-09-30": "2002-06-14", "1945-10-01": "2002-06-15", "1945-10-02": "2002-06-16", "1945-10-03": "2002-06-17", "1945-10-04": "2002-06-18", "1945-10-05": "2002-06-19", "1945-10-06": "2002-06-20", "1945-10-07": "2002-06-21", "1945-10-08": "2002-06-22", "1945-10-09": "2002-06-23", "1945-10-10": "2002-06-24", "1945-10-11": "200