@spiceErrorCheck<EOL>def et2lst(et, body, lon, typein, timlen=_default_len_out, ampmlen=_default_len_out):
et = ctypes.c_double(et)<EOL>body = ctypes.c_int(body)<EOL>lon = ctypes.c_double(lon)<EOL>typein = stypes.stringToCharP(typein)<EOL>timlen = ctypes.c_int(timlen)<EOL>ampmlen = ctypes.c_int(ampmlen)<EOL>hr = ctypes.c_int()<EOL>mn = ctypes.c_int()<EOL>sc = ctypes.c_int()<EOL>time = stypes.stringToCharP(timlen)<EOL>ampm = stypes.stringToCharP(ampmlen)<EOL>libspice.et2lst_c(et, body, lon, typein, timlen, ampmlen,<EOL>ctypes.byref(hr), ctypes.byref(mn), ctypes.byref(sc),<EOL>time, ampm)<EOL>return hr.value, mn.value, sc.value, stypes.toPythonString(<EOL>time), stypes.toPythonString(ampm)<EOL>
Given an ephemeris epoch, compute the local solar time for
an object on the surface of a body at a specified longitude.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/et2lst_c.html

:param et: Epoch in seconds past J2000 epoch.
:type et: float
:param body: ID-code of the body of interest.
:type body: int
:param lon: Longitude of surface point (RADIANS).
:type lon: float
:param typein: Type of longitude "PLANETOCENTRIC", etc.
:type typein: str
:param timlen: Available room in output time string.
:type timlen: int
:param ampmlen: Available room in output ampm string.
:type ampmlen: int
:return:
        Local hour on a "24 hour" clock,
        Minutes past the hour,
        Seconds past the minute,
        String giving local time on 24 hour clock,
        String giving time on A.M. / P.M. scale.
:rtype: tuple