a „oebã@sÈdZddlZddlZddlmZmZmZmZmZddl m Z m Z m Z m Z mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZdd„Zdd „Zd d „Zd d „Z dd„Z!dd„Z"dd„Z#deZ$dS)z®adodbapi - A python DB API 2.0 (PEP 249) interface to Microsoft ADO Copyright (C) 2002 Henrik Ekelund, version 2.1 by Vernon Cole * http://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Ú threadsafetycCst|ƒS)zSThis function constructs an object capable of holding a binary (long) string value.)Úbytes)ZaString©rú2C:\Program Files\Certbot\pkgs\adodbapi\__init__.pyÚBinary!srcCst |||¡S)z8This function constructs an object holding a date value.)rÚDate)ÚyearÚmonthÚdayrrrr&srcCst |||¡S)z8This function constructs an object holding a time value.)rÚTime)ÚhourÚminuteÚsecondrrrr#+sr#cCst ||||||¡S)z>This function constructs an object holding a time stamp value.)rÚ Timestamp)r r!r"r$r%r&rrrr'0sr'cCstt |¡dd…ŽS)zÆThis 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©ZticksrrrÚ DateFromTicks5sr,cCstt |¡dd…ŽS)zÆThis 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#r)r*r+rrrÚ TimeFromTicks<sr.cCstt |¡dd…ŽS)zËThis 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).Nr-)r'r)r*r+rrrÚTimestampFromTicksCsr/z adodbapi v)%Ú__doc__Úsysr)ZadodbapirrrrrZapibaserr r r r r rrrrrrrrrrrrrrrr#r'r,r.r/ÚversionrrrrÚsT