|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/site-packages/google/protobuf/__pycache__/ |
U
N��g= � @ s� d Z ddlZddlmZ ddlmZ eed�dd�Zeed�d d
�Z eed�dd
�Z
eed�dd�Zeed�dd�Zed�dd�Z
eed�dd�Zeed�dd�Zeed�dd�Zeed�dd�Zeed�d d!�Zd%eeej ejd"�d#d$�ZdS )&z#Contains the Timestamp helper APIs.� N)�Optional)� Timestamp)�value�returnc C s t � }|�| � |S )a< Parse a RFC 3339 date string format to Timestamp.
Args:
value: A date string. Any fractional digits (or none) and any offset are
accepted as long as they fit into nano-seconds precision. Example of
accepted format: '1972-01-01T10:00:20.021-05:00'
Raises:
ValueError: On parsing problems.
)r ZFromJsonString)r � timestamp� r �F/opt/cppython/lib/python3.8/site-packages/google/protobuf/timestamp.py�from_json_string s
r )�microsr c C s t � }|�| � |S )z/Converts microseconds since epoch to Timestamp.)r ZFromMicroseconds)r
r r r r �from_microseconds s
r )�millisr c C s t � }|�| � |S )z/Converts milliseconds since epoch to Timestamp.)r ZFromMilliseconds)r r r r r �from_milliseconds'