Ë
    :vžj!  ã                  óx   — d Z ddlmZ ddlmZmZmZmZ  ed«      Z G d„ de«      Zd
d„Z	dd„Z
 e«       Zdd„Zy	)z2
Timezone utilities

Just UTC-awareness right now
é    )Úannotations)ÚdatetimeÚ	timedeltaÚtimezoneÚtzinfoc                  ó    — e Zd ZdZdd„Zdd„Zy)ÚtzUTCz#tzinfo object for UTC (zero offset)c                ó   — t         S )zCompute utcoffset.©ÚZERO©ÚselfÚds     úc/workspace/moltex-experiments/.pixi/envs/default/lib/python3.12/site-packages/jupyter_server/_tz.pyÚ	utcoffsetztzUTC.utcoffset   ó   € äˆó    c                ó   — t         S )zCompute dst.r   r   s     r   Údstz	tzUTC.dst   r   r   N)r   zdatetime | NoneÚreturnr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r	   r	      s   „ Ù-óôr   r	   c                 óH   — t        j                  t        j                  «      S )z#Return timezone-aware UTC timestamp)r   Únowr   Úutcr   r   r   Úutcnowr      s   € ä�<‰<œŸ™Ó%Ð%r   c                óJ   — t        j                  | t        j                  «      S )N)r   Úfromtimestampr   r   )Ú	timestamps    r   Úutcfromtimestampr#   "   s   € Ü×!Ñ! )¬X¯\©\Ó:Ð:r   c                óB   — | j                  «       j                  dd«      S )z`Return iso-formatted timestamp

    Like .isoformat(), but uses Z for UTC instead of +00:00
    z+00:00ÚZ)Ú	isoformatÚreplace)Údts    r   r&   r&   )   s   € ð
 �<‰<‹>×!Ñ! (¨CÓ0Ð0r   N)r   r   )r"   Úfloatr   r   )r(   r   r   Ústr)r   Ú
__future__r   r   r   r   r   r   r	   r   r#   ÚUTCr&   r   r   r   Ú<module>r-      sD   ðñõ #ç :Ó :ñ �ƒ|€ô	ˆFô 	ó&ó
;ñ ƒg€ô1r   