Aller au contenu

"Z12950" i katchilè moun bé fanoufanou

Ô fin Wikifunctions sou
Asked42 (idjôlè | oukalè)
Aucun résumé des modifications
NiferO (idjôlè | oukalè)
Translated content to igbo
 
(5 afiein noun version moun nga bé fin 4 interneti conti moun bé sou, bé fité man)
Ligne 10: Ligne 10:
"Z14K3": {
"Z14K3": {
"Z1K1": "Z16",
"Z1K1": "Z16",
"Z16K1": {
"Z16K1": "Z600",
"Z16K2": "function Z12926(Z12926K1, Z12926K2, Z12926K3) {\r\n const monthName = [\r\n 'Boishakh', 'Joishtho', 'Ashar', 'Shrabon',\r\n 'Bhadro', 'Ashwin', 'Kartik', 'Agrahayan',\r\n 'Poush', 'Magh', 'Falgun', 'Chaitro'\r\n ];\r\n\r\n const gDate = new Date(Z12926K1, Z12926K2 , Z12926K3);\r\n const gYear = gDate.getFullYear();\r\n const gMonth = gDate.getMonth();\r\n const gDay = gDate.getDate();\r\n\r\n let bYear, bMonth, bDay;\r\n\r\n if ((gMonth === 3 \u0026\u0026 gDay \u003E= 14) || gMonth \u003E 3) {\r\n bYear = gYear - 593; \r\n } else {\r\n bYear = gYear - 594;\r\n }\r\n\r\n let bDate = getMonthDate(gDay, gMonth);\r\n\r\n let bDateString = bDate.date + ' ' + monthName[bDate.month] + ' ' + bYear;\r\n\r\n return bDateString;\r\n}\r\n\r\nfunction getMonthDate(gDay, gMonth) {\r\n let bMonth, bDate;\r\n\r\n switch (true) {\r\n case gMonth === 0 \u0026\u0026 gDay \u003C= 14:\r\n bMonth = 8;\r\n bDate = gDay + 16;\r\n break;\r\n case gMonth === 0 \u0026\u0026 gDay \u003E 13:\r\n bMonth = 9;\r\n bDate = gDay - 14;\r\n break;\r\n case gMonth === 1 \u0026\u0026 gDay \u003C= 13:\r\n bMonth = 9;\r\n bDate = gDay + 17;\r\n break;\r\n case gMonth === 1 \u0026\u0026 gDay \u003E 12:\r\n bMonth = 10;\r\n bDate = gDay - 13;\r\n break;\r\n case gMonth === 2 \u0026\u0026 gDay \u003C= 14:\r\n bMonth = 10;\r\n bDate = gDay + 16;\r\n break;\r\n case gMonth === 2 \u0026\u0026 gDay \u003E 14:\r\n bMonth = 11;\r\n bDate = gDay - 14;\r\n break;\r\n case gMonth === 3 \u0026\u0026 gDay \u003C= 13:\r\n bMonth = 11;\r\n bDate = gDay + 17;\r\n break;\r\n case gMonth === 3 \u0026\u0026 gDay \u003E 13:\r\n bMonth = 0;\r\n bDate = gDay - 13;\r\n break;\r\n case gMonth === 4 \u0026\u0026 gDay \u003C= 14:\r\n bMonth = 0;\r\n bDate = gDay + 17;\r\n break;\r\n case gMonth === 4 \u0026\u0026 gDay \u003E 14:\r\n bMonth = 1;\r\n bDate = gDay - 14;\r\n break;\r\n case gMonth === 5 \u0026\u0026 gDay \u003C= 14:\r\n bMonth = 1;\r\n bDate = gDay + 17;\r\n break;\r\n case gMonth === 5 \u0026\u0026 gDay \u003E 14:\r\n bMonth = 2;\r\n bDate = gDay - 14;\r\n break;\r\n case gMonth === 6 \u0026\u0026 gDay \u003C= 14:\r\n bMonth = 2;\r\n bDate = gDay + 17;\r\n break;\r\n case gMonth === 6 \u0026\u0026 gDay \u003E 14:\r\n bMonth = 3;\r\n bDate = gDay - 14;\r\n break;\r\n case gMonth === 7 \u0026\u0026 gDay \u003C= 15:\r\n bMonth = 3;\r\n bDate = gDay + 16;\r\n break;\r\n case gMonth === 7 \u0026\u0026 gDay \u003E 15:\r\n bMonth = 4;\r\n bDate = gDay - 15;\r\n break;\r\n case gMonth === 8 \u0026\u0026 gDay \u003C= 15:\r\n bMonth = 4;\r\n bDate = gDay + 16;\r\n break;\r\n case gMonth === 8 \u0026\u0026 gDay \u003E 15:\r\n bMonth = 5;\r\n bDate = gDay - 15;\r\n break;\r\n case gMonth === 9 \u0026\u0026 gDay \u003C= 15:\r\n bMonth = 5;\r\n bDate = gDay + 16;\r\n break;\r\n case gMonth === 9 \u0026\u0026 gDay \u003E 15:\r\n bMonth = 6;\r\n bDate = gDay - 15;\r\n break;\r\n case gMonth === 10 \u0026\u0026 gDay \u003C= 15:\r\n bMonth = 6;\r\n bDate = gDay + 15;\r\n break;\r\n case gMonth === 10 \u0026\u0026 gDay \u003E 15:\r\n bMonth = 7;\r\n bDate = gDay - 15;\r\n break;\r\n case gMonth === 11 \u0026\u0026 gDay \u003C= 14:\r\n bMonth = 7;\r\n bDate = gDay + 15;\r\n break;\r\n case gMonth === 11 \u0026\u0026 gDay \u003E 14:\r\n bMonth = 8;\r\n bDate = gDay - 15;\r\n break;\r\n }\r\n\r\n return { month: bMonth, date: bDate };\r\n}"
"Z1K1": "Z61",
"Z61K1": "javascript"
},
"Z16K2": "function Z12926(Z12926K1, Z12926K2, Z12926K3) {\r\n const yearOffset = 593;\r\n\r\n const monthMap = [\r\n 'Boishakh', 'Joishtho', 'Ashar', 'Shrabon',\r\n 'Bhadro', 'Ashwin', 'Kartik', 'Agrahayan',\r\n 'Poush', 'Magh', 'Falgun', 'Chaitro'\r\n ];\r\n\r\n const startDates = [\r\n new Date(593, 9, 15), new Date(593, 10, 14), new Date(593, 11, 14),\r\n new Date(594, 0, 13), new Date(594, 1, 13), new Date(594, 2, 15),\r\n new Date(594, 3, 15), new Date(594, 4, 16), new Date(594, 5, 16),\r\n new Date(594, 6, 16), new Date(594, 7, 15), new Date(594, 8, 15)\r\n ];\r\n\r\n const gYear = Z12926K1;\r\n const gMonth = Z12926K2 - 1;\r\n const gDate = Z12926K3;\r\n\r\n const startDate = startDates[gMonth];\r\n let bYear = gYear - yearOffset - 1;\r\n const bMonth = monthMap[startDate.getMonth() - 1];\r\n\r\n let bDate = gDate - startDate.getDate();\r\n\r\n if (bDate \u003C 0) {\r\n const prevMonth = gMonth === 0 ? 11 : gMonth - 1;\r\n const prevStartDate = startDates[prevMonth];\r\n const daysInPrevMonth = new Date(gYear, gMonth, 0).getDate();\r\n bDate = daysInPrevMonth + bDate;\r\n\r\n if (prevMonth === 11 \u0026\u0026 gMonth === 2 \u0026\u0026 gDate \u003C 14) {\r\n bYear--;\r\n }\r\n }\r\n\r\n if (startDate.getMonth() === 0 \u0026\u0026 gMonth === 2 \u0026\u0026 gDate \u003C 14) {\r\n bYear--;\r\n }\r\n\r\n if (bDate === 0) {\r\n bDate = 30;\r\n }\r\n\r\n return `${bDate} ${bMonth} ${bYear}`;\r\n}\r\n"
}
}
},
},
Ligne 20: Ligne 17:
"Z1K1": "Z12",
"Z1K1": "Z12",
"Z12K1": [
"Z12K1": [
"Z11"
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Gregorian to Bangla, javascipt"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Gregorian ka Bangla, javascipt"
}
]
]
},
},

Nian dô nga sou version mô ô bo i bo 17 Jouin 2024 à 02:09

Affichage réduit de cette page sans Javascript.