+
    oip
  ใ                   ๓ฎ    R t ^ RIt^ RIHt R R ltR R ltR R ltR	 R
 ltR R ltR R lt	R R lt
R R ltR R ltR R ltR R ltR R ltR# )z"Contains the Duration helper APIs.N)ฺDurationc                ๓0    V ^8  d   QhR\         R\        /# )้   ฺvalueฺreturn)ฺstrr   )ฺformats   "ฺ{/Users/tonyclaw/.openclaw/workspace/scripts/youtube-playlists/venv/lib/python3.14/site-packages/google/protobuf/duration.pyฺ__annotate__r
      s    ๗ ๑ C๐ คH๑ ๓    c                ๓<    \        4       pVP                  V 4       V# )a   Converts a string to Duration.

Args:
  value: A string to be converted. The string must end with 's'. Any
    fractional digits (or none) are accepted as long as they fit into
    precision. For example: "1s", "1.01s", "1.0000001s", "-3.100s"

Raises:
  ValueError: On parsing problems.
)r   ฺFromJsonString)r   ฺdurations   & r	   ฺfrom_json_stringr      s    ๔ Z(ุ
ืั%ิ ุ	/r   c                ๓0    V ^8  d   QhR\         R\        /# )r   ฺmicrosr   ฉฺfloatr   )r   s   "r	   r
   r
      ๓    ๗ ๑ e๐ ฌ๑ r   c                ๓<    \        4       pVP                  V 4       V# )z"Converts microseconds to Duration.)r   ฺFromMicroseconds)r   r   s   & r	   ฺfrom_microsecondsr      ๓    ไZ(ุ
ืัFิ#ุ	/r   c                ๓0    V ^8  d   QhR\         R\        /# )r   ฺmillisr   r   )r   s   "r	   r
   r
   &   r   r   c                ๓<    \        4       pVP                  V 4       V# )z"Converts milliseconds to Duration.)r   ฺFromMilliseconds)r   r   s   & r	   ฺfrom_millisecondsr   &   r   r   c                ๓0    V ^8  d   QhR\         R\        /# )r   ฺnanosr   r   )r   s   "r	   r
   r
   -   s    ๗ ๑ E๐ คh๑ r   c                ๓<    \        4       pVP                  V 4       V# )z!Converts nanoseconds to Duration.)r   ฺFromNanoseconds)r   r   s   & r	   ฺfrom_nanosecondsr"   -   s    ไZ(ุ
ืั5ิ!ุ	/r   c                ๓0    V ^8  d   QhR\         R\        /# )r   ฺsecondsr   r   )r   s   "r	   r
   r
   4   s    ๗ ๑ %๐ คH๑ r   c                ๓<    \        4       pVP                  V 4       V# )zConverts seconds to Duration.)r   ฺFromSeconds)r$   r   s   & r	   ฺfrom_secondsr'   4   s    ไZ(ุ
ืัwิุ	/r   c                ๓D    V ^8  d   QhR\         P                  R\        /# )r   ฺtdr   )ฺdatetimeฺ	timedeltar   )r   s   "r	   r
   r
   ;   s     ๗ ๑ xื)ั)๐ ฌh๑ r   c                ๓<    \        4       pVP                  V 4       V# )zConverts timedelta to Duration.)r   ฺFromTimedelta)r)   r   s   & r	   ฺfrom_timedeltar.   ;   s    ไZ(ุ
ืัิุ	/r   c                ๓0    V ^8  d   QhR\         R\        /# ฉr   r   r   )r   r   )r   s   "r	   r
   r
   B   s    ๗ 	!๑ 	!X๐ 	!ฌ#๑ 	!r   c                ๓"    V P                  4       # )a  Converts Duration to string format.

Returns:
  A string converted from self. The string format will contains
  3, 6, or 9 fractional digits depending on the precision required to
  represent the exact Duration value. For example: "1s", "1.010s",
  "1.000000100s", "-3.100s"
)ฺToJsonStringฉr   s   &r	   ฺto_json_stringr4   B   s    ๐ 
ื	ั	ำ	 ะ r   c                ๓0    V ^8  d   QhR\         R\        /# r0   ฉr   ฺint)r   s   "r	   r
   r
   N   ๓    ๗ #๑ #h๐ #ฌ3๑ #r   c                ๓"    V P                  4       # )z$Converts a Duration to microseconds.)ฺToMicrosecondsr3   s   &r	   ฺto_microsecondsr;   N   ๓    เ	ื	 ั	 ำ	"ะ"r   c                ๓0    V ^8  d   QhR\         R\        /# r0   r6   )r   s   "r	   r
   r
   S   r8   r   c                ๓"    V P                  4       # )z$Converts a Duration to milliseconds.)ฺToMillisecondsr3   s   &r	   ฺto_millisecondsr@   S   r<   r   c                ๓0    V ^8  d   QhR\         R\        /# r0   r6   )r   s   "r	   r
   r
   X   s    ๗ "๑ "X๐ "ฌ#๑ "r   c                ๓"    V P                  4       # )z#Converts a Duration to nanoseconds.)ฺToNanosecondsr3   s   &r	   ฺto_nanosecondsrD   X   s    เ	ื	ั	ำ	!ะ!r   c                ๓0    V ^8  d   QhR\         R\        /# r0   r6   )r   s   "r	   r
   r
   ]   s    ๗ ๑ ๐ คc๑ r   c                ๓"    V P                  4       # )zConverts a Duration to seconds.)ฺ	ToSecondsr3   s   &r	   ฺ
to_secondsrH   ]   s    เ	ื	ั	ำ	ะr   c                ๓D    V ^8  d   QhR\         R\        P                  /# r0   )r   r*   r+   )r   s   "r	   r
   r
   b   s     ๗  ๑  8๐  ฌื(:ั(:๑  r   c                ๓"    V P                  4       # )zConverts Duration to timedelta.)ฺToTimedeltar3   s   &r	   ฺto_timedeltarL   b   s    เ	ื	ั	ำ	ะr   )ฺ__doc__r*   ฺgoogle.protobuf.duration_pb2r   r   r   r   r"   r'   r.   r4   r;   r@   rD   rH   rL   ฉ r   r	   ฺ<module>rP      sL   ๐๑ )ใ ๅ 1๕๕ ๕๕๕๕๕	!๕#๕
#๕
"๕
๗
 r   