Z20424

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z20424"
    },
    "Z2K2": {
        "Z1K1": "Z46",
        "Z46K1": "Z20424",
        "Z46K2": "Z20420",
        "Z46K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z610",
            "Z16K2": "def Z20424(Z20424K1):\n\n    def is_void(value):\n        return (\n                isinstance(value, dict) and (\n                (value[\"Z1K1\"] == \"Z9\" and value[\"Z9K1\"] == \"Z24\") or\n                (value[\"Z1K1\"] == \"Z21\") or\n                (isinstance(value[\"Z1K1\"], dict) and\n                 value[\"Z1K1\"][\"Z1K1\"] == \"Z9\" and\n                 value[\"Z1K1\"][\"Z9K1\"] == \"Z21\"))\n        )\n\n    era = Z20424K1['Z20420K1']['Z20159K1']\n    if not isinstance(era, str):\n        while 'Z17813K1' in era:\n            era = era['Z17813K1']\n        if 'Z9K1' in era:\n            era = era['Z9K1']\n\n    year = Z20424K1['Z20420K1']['Z20159K2']['Z13518K1']\n    if type(year) is not str:\n        if 'Z6K1' in year:\n            year = year['Z6K1']\n    year = int(year)\n    if era == \"Z17815\":\n        year = -1 * year + 1\n\n    month = Z20424K1['Z20420K2']['Z20342K1']\n    if is_void(month):\n        month = 0\n    else:\n        if isinstance(month, dict):\n            while 'Z16098K1' in month:\n                month = month['Z16098K1']\n        if isinstance(month, dict):\n            if 'Z9K1' in month:\n                month = month['Z9K1']\n        try:\n            month = int(month.split(\"Z\")[1]) - 16100\n        except (ValueError, IndexError) as e:\n            raise ValueError(\"Invalid month format in ZObject\") from e\n\n    if month \u003C 0 or month \u003E 12:\n        raise ValueError(\"Received non-month ZObject\")\n\n    day = Z20424K1['Z20420K2']['Z20342K2']['Z13518K1']\n    if not isinstance(day, str):\n        if 'Z6K1' in day:\n            day = day['Z6K1']\n    try:\n        day = int(day)\n    except ValueError as e:\n        raise ValueError(\"Invalid day format in ZObject\") from e\n\n    return {\n        'K1': year,\n        'K2': month,\n        'K3': day\n    }\n"
        },
        "Z46K4": "dict"
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "Python converter from Gregorian calendar date"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1332",
                "Z11K2": "Конвертер Python із григоріанського календаря"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1004",
                "Z11K2": "convertisseur Python de date grégorienne"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1157",
                "Z11K2": "Python-convertor van Gregoriaanse kalenderdatum"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1004",
                "Z11K2": "code Python pour convertir une date du calendrier grégorien"
            }
        ]
    }
}