⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
pyrfc3339
/
__pycache__
/
View File Name :
utils.cpython-312.pyc
ƺ[Q N d dl mZ d dlmZmZ d dlmZ G d de Zd Zd Z y) )division) timedeltatzinfo)deepcopyc 4 e Zd ZdZd Zd Zd Zd Zd Zd Z y) FixedOffseta Represent a timezone with a fixed offset from UTC and no adjustment for DST. >>> FixedOffset(4,0)
>>> FixedOffset(-4,0)
>>> FixedOffset(4,30)
>>> tz = FixedOffset(-5,0) >>> tz.dst(None) datetime.timedelta(0) The class tries to do the right thing with the sign of the time zone offset: >>> FixedOffset(-9,30)
>>> FixedOffset(-9,-30) Traceback (most recent call last): ... ValueError: minutes must not be negative Offsets must thus be normalized so that the minute value is positive: >>> FixedOffset(-8,30)
c t j | |dk rt d |dk r|dz }t || | _ dt t | j z | _ y)zK Create a new FixedOffset instance with the given offset. r zminutes must not be negative)hoursminutesUTCN)r __init__ ValueErrorr _FixedOffset__offsettimezonetimedelta_seconds_FixedOffset__name)selfr r s 1/usr/lib/python3/dist-packages/pyrfc3339/utils.pyr zFixedOffset.__init__( s_ Q;;<<19rMG!*13 h'8'GHH c t d S )zG Return offset for DST. Always returns timedelta(0). r )r r dts r dstzFixedOffset.dst6 s |r c | j S )z* Return offset from UTC. )r r s r utcoffsetzFixedOffset.utcoffset= s }}r c | j S )z+ Return name of timezone. )r r s r tznamezFixedOffset.tznameD s {{r c B dj | j d S )Nz<{0}>)formatr )r s r __repr__zFixedOffset.__repr__K s ~~dkk$/00r c | j }|j | }||t | <