@staticmethod<EOL><INDENT>def _get_date_type(date):<DEDENT>
if isinstance(date, str):<EOL><INDENT>return '<STR_LIT:str>'<EOL><DEDENT>if isinstance(date, datetime.date):<EOL><INDENT>return '<STR_LIT:date>'<EOL><DEDENT>if isinstance(date, int):<EOL><INDENT>return '<STR_LIT:int>'<EOL><DEDENT>raise ValueError('<STR_LIT>'.format(date.__class__))<EOL>
Returns the type of a date.

:param str|datetime.date date: The date.

:rtype: str