3 [zQ @ s d Z ddlmZmZmZmZmZ ddlmZmZ ddlm Z G dd deZ G dd de ZG d d d eZG dd deZ G d d deZG dd de eZG dd deZG dd deZG dd deZe ee e ee e ee e ee e ee dS )zDatetime interfaces. This module is called idatetime because if it were called datetime the import of the real datetime would fail. ) timedeltadatedatetimetimetzinfo) Interface Attribute)classImplementsc @ s( e Zd ZdZedZedZedZdS )ITimeDeltaClasszThis 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 minmax resolution r r !/usr/lib64/python3.6/idatetime.pyr s r c @ s( e Zd ZdZedZedZedZdS ) 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 &