XylotrechusZ
�
Œ�g� � � � d Z ddlmZ ddlmZmZmZmZ ddlmZ eZeZ eZ
eZeZeZ
d� Zd� Zd� ZexZZd� Zd � Zd
� Zd� Zd� Zd
� Zd� Zd� Zy)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 �* � t t | � dd � S )z(Convert UNIX ticks into a date instance.N� )r r ��tickss �>/opt/hc_python/lib64/python3.12/site-packages/MySQLdb/times.py�
DateFromTicksr s � ���5�!�"�1�%�&�&� c �* � t t | � dd � S )z(Convert UNIX ticks into a time instance.r
� )r r r s r
�
TimeFromTicksr s � ���5�!�!�A�&�'�'r c �* � t t | � dd � S )z,Convert UNIX ticks into a datetime instance.Nr )r r r s r
�TimestampFromTicksr s � ��Y�u�%�b�q�)�*�*r c �� � t | j � dz }t | j dz � dz }t | j dz � dz }d| j |||fz S )N�<