AlkantarClanX12
Current Path : /opt/alt/python37/lib64/python3.7/site-packages/MySQLdb/__pycache__/ |
Current File : //opt/alt/python37/lib64/python3.7/site-packages/MySQLdb/__pycache__/times.cpython-37.pyc |
B h�W� � @ s� d Z ddlmZ ddlmZmZmZmZ ddlmZ eZeZ eZ eZeZeZ dd� Zdd� Zd d � Ze ZZdd� Zd d� Zdd� 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 )�ticks� r �@/opt/alt/python37/lib64/python3.7/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�<