en Gregorian calendar month to JS number Z16132en Type converter to code
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
"Z1K1": "Z16", |
"Z1K1": "Z16", |
||
"Z16K1": "Z600", |
"Z16K1": "Z600", |
||
"Z16K2": "function Z16132( Z16132K1 ) {\n\tlet x = Z16132K1.Z16098K1;\n\tif (typeof x !== 'string') {\n\t\tif (x.Z9K1 !== undefined) {\n\t\t\tx = x.Z9K1;\n\t\t}\n\t\tif (x.Z16098K1 !== undefined) {\n\t\t\tx = x.Z16098K1;\n\t\t}\n\t}\n\tif (typeof x !== 'string') {\n\t\tif (x.Z9K1 !== undefined) {\n\t\t\tx = x.Z9K1;\n\t\t}\n\t\tif (x.Z16098K1 !== undefined) {\n\t\t\tx = x.Z16098K1;\n\t\t}\n\t}\n\tif ( x === 'Z16101' ) return 0;\n\tif ( x === 'Z16102' ) return 1;\n\tif ( x === 'Z16103' ) return 2;\n\tif ( x === 'Z16104' ) return 3;\n\tif ( x === 'Z16105' ) return 4;\n\tif ( x === 'Z16106' ) return 5;\n\tif ( x === 'Z16107' ) return 6;\n\tif ( x === 'Z16108' ) return 7;\n\tif ( x === 'Z16109' ) return 8;\n\tif ( x === 'Z16110' ) return 9;\n\tif ( x === 'Z16111' ) return 10;\n\tif ( x === 'Z16112' ) return 11;\n\tthrow Error('not a month');\n}" |
|||
"Z16K2": "function Z16132( Z16132K1 ) {\n\treturn Z16132K1;\n}" |
|||
}, |
}, |
||
"Z46K4": "number" |
"Z46K4": "number" |
Latest revision as of 20:46, 16 Mieh 2024
This page displays in a limited way without JavaScript.