convert_utcdatetime

GeneralFileEncoder.convert_utcdatetime(obj)[source]

Convert a UTCDateTime instance.

Parameters

obj (obspy.utcdatetime.UTCDateTime) – The UTCDateTime instance to convert.

Returns

d – The dictionary representation of obj.

Return type

dict