
    $
i
                         d Z ddlZddlmZmZmZmZmZ ddlm	Z	m
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ d Zd Zd Zd	 Zd
 Z d Z!d Z"dez   Z#dS )zadodbapi - A python DB API 2.0 (PEP 249) interface to Microsoft ADO

Copyright (C) 2002 Henrik Ekelund, version 2.1 by Vernon Cole
* https://sourceforge.net/projects/adodbapi
    N   )
ConnectionCursor__version__connectdateconverter)BINARYDATETIMENUMBERROWIDSTRINGDatabaseError	DataErrorErrorFetchFailedErrorIntegrityErrorInterfaceErrorInternalErrorNotSupportedErrorOperationalErrorProgrammingErrorWarningapilevel
paramstylethreadsafetyc                      t          |           S )zSThis function constructs an object capable of holding a binary (long) string value.)bytes)aStrings    C:\Users\Dell Inspiron 16\Desktop\tws\AgrotaPowerBi\back-agrota-powerbi\mcp-client-agrota\venv\Lib\site-packages\adodbapi/__init__.pyBinaryr    )   s    >>    c                 .    t          j        | ||          S )z8This function constructs an object holding a date value.)r   Date)yearmonthdays      r   r#   r#   .   s    dE3///r!   c                 .    t          j        | ||          S )z8This function constructs an object holding a time value.)r   Time)hourminuteseconds      r   r(   r(   3   s    dFF333r!   c                 4    t          j        | |||||          S )z>This function constructs an object holding a time stamp value.)r   	Timestamp)r$   r%   r&   r)   r*   r+   s         r   r-   r-   8   s    "4T66JJJr!   c                 H    t          t          j        |           dd          S )zThis function constructs an object holding a date value from the given ticks value
    (number of seconds since the epoch; see the documentation of the standard Python time module for details).
    N   )r#   timegmtimetickss    r   DateFromTicksr4   =   s"     U##BQB'((r!   c                 H    t          t          j        |           dd          S )zThis function constructs an object holding a time value from the given ticks value
    (number of seconds since the epoch; see the documentation of the standard Python time module for details).
    r/      )r(   r0   r1   r2   s    r   TimeFromTicksr7   D   s"     U##AaC())r!   c                 H    t          t          j        |           dd          S )zThis function constructs an object holding a time stamp value from the given
    ticks value (number of seconds since the epoch;
    see the documentation of the standard Python time module for details).Nr6   )r-   r0   r1   r2   s    r   TimestampFromTicksr9   K   s"     dk%((!,--r!   z
adodbapi v)$__doc__r0   adodbapir   r   r   r   r   apibaser	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r#   r(   r-   r4   r7   r9   version r!   r   <module>r?      s                                                          .  
0 0 0
4 4 4
K K K
) ) )* * *. . . 
$r!   