| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /lib64/python3.6/site-packages/zope/interface/common/__pycache__/ |
Upload File : |
3
��[zQ � @ s d Z ddlmZmZmZmZmZ ddlmZmZ ddlm Z G dd� de�Z
G dd� de
�ZG d d
� d
e�ZG dd� de�Z
G d
d� de�ZG dd� de
e�ZG dd� de�ZG dd� de�ZG dd� de�Ze ee� e ee
� e ee� e ee� e ee� dS )z�Datetime interfaces.
This module is called idatetime because if it were called datetime the import
of the real datetime would fail.
� )� timedelta�date�datetime�time�tzinfo)� Interface� Attribute)�classImplementsc @ s( e Zd ZdZed�Zed�Zed�ZdS )�ITimeDeltaClassz�This is the timedelta class interface.
This is symbolic; this module does **not** make
`datetime.timedelta` provide this interface.
z"The most negative timedelta objectz"The most positive timedelta objectz;The smallest difference between non-equal timedelta objectsN)�__name__�
__module__�__qualname__�__doc__r �min�max�
resolution� r r �!/usr/lib64/python3.6/idatetime.pyr
s
r
c @ s( e Zd ZdZed�Zed�Zed�ZdS )�
ITimeDeltaa� Represent the difference between two datetime objects.
Implemented by `datetime.timedelta`.
Supported operators:
- add, subtract timedelta
- unary plus, minus, abs
- compare to timedelta
- multiply, divide by int/long
In addition, `.datetime` supports subtraction of two `.datetime` objects
returning a `.timedelta`, and addition or subtraction of a `.datetime`
and a `.timedelta` giving a `.datetime`.
Representation: (days, seconds, microseconds).
z/Days between -999999999 and 999999999 inclusivez%Seconds between 0 and 86399 inclusivez+Microseconds between 0 and 999999 inclusiveN)r r r
r r ZdaysZsecondsZmicrosecondsr r r r r &