
    VPid                     L    d Z ddlZddlZdedededefdZdedej        fd	ZdS )
z-For when pip wants to check the date or time.    Nyearmonthdayreturnc                 v    t           j                                        }t          j        | ||          }||k    S )N)datetimedatetoday)r   r   r   r
   givens        p/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/pip/_internal/utils/datetime.pytoday_is_later_thanr      s2    M!!EM$s++E5=    isodatec                 (   t           j        dk    rt          j                            |           S t          j                            |                     d          r0d| v sd|                                 v r|                     dd          n|           S )zConvert an ISO format string to a datetime.

    Handles the format 2020-01-22T14:24:01Z (trailing Z)
    which is not supported by older versions of fromisoformat.
    )      ZT z+00:00)sysversion_infor   fromisoformatendswithstripreplace)r   s    r   parse_iso_datetimer      s     7"" ..w777 ..$$*-..C7==??<R<R OOC***
 
 	
r   )__doc__r   r   intboolr   strr    r   r   <module>r"      s|    3 3  



c # C D    
 
(9 
 
 
 
 
 
r   