
    9i                    L    S SK Jr  S SKrS SKr  " S S\R                  5      r	g)    )annotationsNc                      \ rS rSrS	S jrS
S jrSS jr         S                   SS jjrSS jrSr	g)	TimeStamp   c                $    [        SS SS9U l        g )NFr   )ttzdelta)dict_yaml)selfargskws      U/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/ruamel/yaml/timestamp.py__init__TimeStamp.__init__   s    %)Ed!%D
    c                J    [         R                   R                  " U /UQ70 UD6$ N)datetime__new__)clsr   r   s      r   r   TimeStamp.__new__   s#      ((:t:r::r   c                    [        U R                  U R                  U R                  U R                  U R
                  U R                  5      n[        R                  " U R                  5      Ul	        U$ r   )
r   yearmonthdayhourminutesecondcopydeepcopyr   )r   memotss      r   __deepcopy__TimeStamp.__deepcopy__   sJ    tyy$**dhh		4;;PTP[P[\==,	r   Nc
                   Uc  U R                   nUc  U R                  nUc  U R                  nUc  U R                  nUc  U R                  nUc  U R
                  nUc  U R                  nUSL a  U R                  nU	c  U R                  n	[        U 5      " XX4XVXxU	S9	n
[        R                  " U R                  5      U
l        U
$ )NT)fold)r   r   r   r   r   r    microsecondtzinfor(   typer!   r"   r   )r   r   r   r   r   r   r    r)   r*   r(   r$   s              r   replaceTimeStamp.replace   s     <99D=JJE;((C<99D>[[F>[[F**KT>[[F<99D$ZSZ^_==,	r   c                X    U R                  U R                  S   (       a  S5      $ S5      $ )Nr   T )	isoformatr   )r   s    r   __str__TimeStamp.__str__>   s#    ~~TZZ_c>>#>>r   )r   )r   Anyr   r4   returnNone)r   r4   r   r4   r5   r4   )r#   r4   r5   r4   )	NNNNNNNTN)r   r4   r   r4   r   r4   r   r4   r   r4   r    r4   r)   r4   r*   r4   r(   r4   r5   r4   )r5   str)
__name__
__module____qualname____firstlineno__r   r   r%   r,   r2   __static_attributes__ r   r   r   r      s    E;      	 
             
 D?r   r   )

__future__r   r!   r   typingr4   DictOptionalListr   r=   r   r   <module>rC      s%    "   	/?!! /?r   