관리-도구
편집 파일: times.cpython-38.pyc
U )�e� � @ s� d Z ddlmZ ddlmZmZmZmZ ddlmZ eZeZ eZ eZeZeZ dd� Zdd� Zd d � Ze ZZdd� Zd d� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� ZdS )z�times module This module provides some Date and Time classes for dealing with MySQL data. Use Python datetime module to handle date and time columns. � )� localtime)�date�datetime�time� timedelta)�string_literalc C s t t| �dd� � S )z(Convert UNIX ticks into a date instance.N� )r r �Zticks� r �=/opt/hc_python/lib64/python3.8/site-packages/MySQLdb/times.py� DateFromTicks s r c C s t t| �dd� � S )z(Convert UNIX ticks into a time instance.r � )r r r r r r � TimeFromTicks s r c C s t t| �dd� � S )z,Convert UNIX ticks into a datetime instance.Nr )r r r r r r �TimestampFromTicks s r c C sD t | j�d }t | jd �d }t | jd �d }d| j|||f S )N�<