[
    {
        "name": "ListDate",
        "comment": " Sometimes an API returns a List of Int's and you have to deal with it. This\npackage helps with the conversion from and to.\n\n\n# Conversion\n\n@docs dateToList, listToDate\n\n\n# JSON\n\n@docs decoder, encoder\n\n",
        "unions": [],
        "aliases": [],
        "values": [
            {
                "name": "dateToList",
                "comment": " Converts a date to a List of Int's. With the head being the year and the last\nthe milliseconds.\n\n    dateToList date -- [ 2018, 5, 31,  0,  0,  0, 0 ]\n    dateToList date -- [ 2018, 5, 31, 15, 16,  0, 0 ]\n    dateToList date -- [ 2018, 5, 31, 15, 16, 20, 1000 ]\n\n",
                "type": "Date -> List Int"
            },
            {
                "name": "decoder",
                "comment": " Provides a decoder that will convert a List of Int to a Date.\n",
                "type": "Decoder Date"
            },
            {
                "name": "encoder",
                "comment": " Provides an encoder that will convert a Date to a List of Int's.\n",
                "type": "Date -> Value"
            },
            {
                "name": "listToDate",
                "comment": " Converts a List of Int's to a Maybe Date. It expects a total of 7 integers\nrepresenting year till milisceonds. If this is not the case it will fill in the\nrest with zero's.\n\n    listToDate [] -- Nothing\n    listToDate [ 2018, 5, 31 ] -- Just <Thu May 31 00:00:00 GMT+0000>\n    listToDate [ 2018, 5, 31, 15, 16 ] -- Just <Thu May 31 15:16:00 CMT+0000>\n    listToDate [ 2018, 5, 31, 15, 16, 20, 1000 ] -- Just <Thu May 31 15:16:20 CMT+0000>\n\n",
                "type": "List Int -> Maybe Date"
            }
        ],
        "binops": []
    }
]