File manager - Edit - /home/u478019808/domains/bestandroidphones.store/public_html/static/img/logo/tz_utc.cpython-39.pyc.tar
Back
opt/gsutil/gslib/__pycache__/tz_utc.cpython-39.pyc 0000644 00000004066 15025234240 0016131 0 ustar 00 a +(Wg� � @ s` d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ G dd � d e�Z d S )z9Provides a tzinfo subclass to represent the UTC timezone.� )�absolute_import)�print_function)�division)�unicode_literals�� timedelta)�tzinfoc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �UTCa� Timezone information class used to convert datetime timestamps to UTC. This class is necessary to convert timestamps to UTC. By default Python datetime objects are timezone unaware. This created problems when interacting with cloud object timestamps which are timezone-aware. This issue appeared when handling the timeCreated metadata attribute; the values returned by the service were placed in RFC 3339 format in the storage_v1_messages module. RFC 3339 requires a timezone in any timestamp. This caused problems as the datetime object elsewhere in the code was timezone unaware and was different by exactly one hour. The main problem was that the local system used daylight savings time which adjusted the timestamp ahead by one hour. c C s t d�S )z�An offset of the number of minutes away from UTC this tzinfo object is. Returns: A time duration of zero. UTC is zero minutes away from UTC. r r ��self�_� r �/opt/gsutil/gslib/tz_utc.py� utcoffset( s z UTC.utcoffsetc C s dS )zvA method to retrieve the name of this timezone object. Returns: The name of the timezone (i.e. 'UTC'). r r r r r r �tzname0 s z UTC.tznamec C s t d�S )zA fixed offset to handle daylight savings time (DST). Returns: A time duration of zero as UTC does not use DST. r r r r r r �dst8 s zUTC.dstN)�__name__� __module__�__qualname__�__doc__r r r r r r r r s r N) r � __future__r r r r �datetimer r r r r r r �<module> s
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings