
    ,hu                     N    d dl mZ d dlZd dlmZmZ  ed       Z G d de      Zy)    )unicode_literalsN)tzinfo	timedeltac                   8    e Zd ZdZd Zd Zd Zd Zed        Z	y)FixedOffsetz\
    This class describes fixed timezone offsets in hours and minutes
    east from UTC
    c                     t        |      | _        d}|dk  rd}t        t        |      d      \  }}d|||fz  | _        y )N)minutes+r   -<   z
%s%02d%02d)r   _FixedOffset__offsetdivmodabs_FixedOffset__name)selfr	   signhoursremaining_minss        Y/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/imapclient/fixed_offset.py__init__zFixedOffset.__init__   sG    !'2Q;D &s7|R 8~"dE>%BB    c                     | j                   S N)r   r   _s     r   	utcoffsetzFixedOffset.utcoffset   s    }}r   c                     | j                   S r   )r   r   s     r   tznamezFixedOffset.tzname   s    {{r   c                     t         S r   )ZEROr   s     r   dstzFixedOffset.dst"   s    r   c                     t        j                         j                  r!t         j                  rt         j                  }nt         j
                  } | | dz        S )zcReturn a FixedOffset instance for the current working timezone and
        DST conditions.
        r   )time	localtimetm_isdstdaylightaltzonetimezone)klassoffsets     r   
for_systemzFixedOffset.for_system%   s=    
 >>$$\\F]]FfW]##r   N)
__name__
__module____qualname____doc__r   r   r   r!   classmethodr+    r   r   r   r      s0    
C $ $r   r   )
__future__r   r#   datetimer   r   r    r   r1   r   r   <module>r4      s%   
 (  &|!$& !$r   