syncfusion-ember/i18n/ej.culture.prs.min.js

1 строка
3.4 KiB
JavaScript

ej.addCulture("prs", { name: "prs", englishName: "Dari", nativeName: "درى", language: "prs", isRTL: !0, numberFormat: { pattern: ["n-"], ",": ".", ".": ",", NaN: "غ ع", negativeInfinity: "-∞", positiveInfinity: "∞", percent: { pattern: ["%n-", "%n"], ",": ".", ".": "," }, currency: { pattern: ["$n-", "$n"], symbol: "؋" } }, calendars: { standard: { name: "Hijri", firstDay: 6, days: { names: ["یکشنبه", "دوشنبه", "سه‌ شنبه", "چهار شنبه", "پنجشنبه", "جمعه", "شنبه"], namesAbbr: ["یکشنبه", "دوشنبه", "سه‌ شنبه", "چهار شنبه", "پنجشنبه", "جمعه", "شنبه"], namesShort: ["ی", "د", "س", "چ", "پ", "ج", "ش"] }, months: { names: ["محرّم", "صفر", "ربيع الأوّل", "ربيع الثاني", "جمادى الأول", "جمادى الثاني", "رجب", "شعبان", "رمضان", "شوّال", "ذو القعدة", "ذو الحجّة", ""], namesAbbr: ["محرّم", "صفر", "ربيع الأوّل", "ربيع الثاني", "جمادى الأول", "جمادى الثاني", "رجب", "شعبان", "رمضان", "شوّال", "ذو القعدة", "ذو الحجّة", ""] }, AM: ["غ.م", "غ.م", "غ.م"], PM: ["غ.و", "غ.و", "غ.و"], twoDigitYearMax: 1451, patterns: { d: "yyyy/M/d", D: "yyyy, dd, MMMM, dddd", f: "yyyy, dd, MMMM, dddd h:mm tt", F: "yyyy, dd, MMMM, dddd h:mm:ss tt", M: "d MMMM" }, convert: { ticks1970: 621355968e5, monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], minDate: -425216736e5, maxDate: 0xe677d21fdbff, hijriAdjustment: 0, toGregorian: function (t, e, a) { var n = this.daysToYear(t) + this.monthDays[e] + a - 1 - this.hijriAdjustment, s = new Date(864e5 * n - this.ticks1970); return s.setMinutes(s.getMinutes() + s.getTimezoneOffset()), s }, fromGregorian: function (t) { if (t < this.minDate || t > this.maxDate) return null; var e, a, n = this.ticks1970 + (t - 0) - 6e4 * t.getTimezoneOffset(), s = Math.floor(n / 864e5) + 1 + this.hijriAdjustment, r = Math.floor(30 * (s - 227013) / 10631) + 1, d = this.daysToYear(r), i = this.isLeapYear(r) ? 355 : 354; d > s ? (r--, d -= i) : s === d ? (r--, d = this.daysToYear(r)) : s > d + i && (d += i, r++), a = 0; for (var y = s - d; 11 >= a && y > this.monthDays[a];) a++; return a--, e = y - this.monthDays[a], [r, a, e] }, daysToYear: function (t) { for (var e = 30 * Math.floor((t - 1) / 30), a = t - e - 1, n = Math.floor(10631 * e / 30) + 227013; a > 0;) n += this.isLeapYear(a) ? 355 : 354, a--; return n }, isLeapYear: function (t) { return 11 > (11 * t + 14) % 30 } } }, Gregorian_Localized: { firstDay: 6, days: { names: ["یکشنبه", "دوشنبه", "سه‌ شنبه", "چهار شنبه", "پنجشنبه", "جمعه", "شنبه"], namesAbbr: ["یکشنبه", "دوشنبه", "سه‌ شنبه", "چهار شنبه", "پنجشنبه", "جمعه", "شنبه"], namesShort: ["ی", "د", "س", "چ", "پ", "ج", "ش"] }, months: { names: ["جدی", "دلو", "حوت", "حمل", "ثور", "جوزا", "سرطان", "اسد", "سنبله", "میزان", "عقرب", "قوس", ""], namesAbbr: ["جدی", "دلو", "حوت", "حمل", "ثور", "جوزا", "سرطان", "اسد", "سنبله", "میزان", "عقرب", "قوس", ""] }, AM: ["غ.م", "غ.م", "غ.م"], PM: ["غ.و", "غ.و", "غ.و"], patterns: { d: "yyyy/M/d", D: "yyyy, dd, MMMM, dddd", f: "yyyy, dd, MMMM, dddd h:mm tt", F: "yyyy, dd, MMMM, dddd h:mm:ss tt", M: "d MMMM" } } } });