+
     þÎjþ  ã                   ó  € R t ^ RItR^ R^R^R^R^R^R^R	^R
^	R^
R^R^R^R^/t]P                  ! RR4      P                  ]P                  4      tR tR t	^ R^R^R^R^R^R^R ^	R!^
R"^R#^R$/t
R tR tR tR tR tR tR tR# )%z�
Helper functions for np.timedelta64 and np.datetime64.
For now, multiples-of-units (for example timedeltas expressed in tens
of seconds) are not supported.
NÚYÚMÚWÚDÚhÚmÚsÚmsÚusÚnsÚpsÚfsÚasÚ Únatc                óD   € \         V ,          ^8  \         V,          ^8  8H  # )z:
Whether the *src* and *dest* units are of the same kind.
©ÚDATETIME_UNITS©ÚsrcÚdests   &&ÚQ/opt/data/home/.local/lib/python3.14/site-packages/numba/np/npdatetime_helpers.pyÚ	same_kindr   (   s#   € ô ˜3Õ !Ñ#¬¸Õ)=ÀÑ)AÑBÐBó    c                 óž   € \         V ,          p \         V,          pW8X  d   R # V ^8X  d   R # W8”  d   R# V^8X  d   R# V ^8:  d
   V^8”  d   R# R # )TFr   r   s   &&r   Úcan_cast_timedelta_unitsr   /   sO   € ô
 ˜Õ
€CÜ˜$Õ€DØ
„{ÙØ
ˆb„yÙØ
„zÙØˆr„záØ
ˆa„x�D˜1”HáÙr   c                ó”   € V ^8X  d   ^# T p^pW!8  d    \         V,          w  r$Y4,          pK   W!8X  d   V# R#   \         d     R# i ; i)z¹
Return an integer multiplier allowing to convert from *big_unit_code*
to *small_unit_code*.
None is returned if the conversion is not possible through a
simple integer multiplication.
N)Ú_factorsÚKeyError)Úbig_unit_codeÚsmall_unit_codeÚcÚfactorÚmults   &&   r   Ú_get_conversion_multiplierr$   U   sZ   € ð ˜ÔÙØ€AØ€FØ
Ô
ð	Ü˜q•k‰GˆAð 	�ŠØÔØˆáøô ô 	âð	ús   •8 ¸AÁAc                óF   € \        \        V ,          \        V,          4      # )z`
Return an integer multiplier allowing to convert from timedeltas
of *src_unit* to *dest_unit*.
)r$   r   )Úsrc_unitÚ	dest_units   &&r   Úget_timedelta_conversion_factorr(   o   s"   € ô
 &¤n°XÕ&>Ü&4°YÕ&?óAð Ar   c                óÂ  € \         V ,          p\         V,          pV^8X  g   V^8X  d   V ^^3# V^8  d   V^8¼  d   \        RV : RV: R24      h^^rTV^ 8X  d   V^8¼  d   RpRp^pM0V^8X  d   RpRp^pM"V^8X  d   V^8¼  d   RpRp^pMV^8X  d   RpRp^pW28¼  d#   \        W#4      pVf	   Q W#34       hWV,          V3# \        W24      pVf	   Q W#34       hWWV,          3# )	a  
Compute a possible conversion for combining *datetime_unit* and
*timedelta_unit* (presumably for adding or subtracting).
Return (result unit, integer datetime multiplier, integer timedelta
multiplier). RuntimeError is raised if the combination is impossible.
zcannot combine datetime64(z) and timedelta64(Ú)i�  i±: ið
  iÀ  i@ƒ  )r   ÚRuntimeErrorr$   )Údatetime_unitÚtimedelta_unitÚdt_unit_codeÚtd_unit_codeÚ	dt_factorÚ	td_factorr"   s   &&     r   Ú!get_datetime_timedelta_conversionr2   x   s0  € ô " -Õ0€LÜ! .Õ1€LØ�rÔ˜\¨RÔ/Ø˜a Ð"Ð"Ø�aÔ˜L¨AÔ-åÛ+«^ð=ó >ð 	>à˜aˆyð �qÔØ˜1ÔØ&ˆIØˆIØ‰LØ˜QÔØ&ˆIØˆIØˆLøØ	˜Ô	Ø˜1ÔØ&ˆIØ ˆIØ‰LØ˜QÔØ&ˆIØ$ˆIØˆLàÔ#Ü+¨LÓGˆØÒ!Ð? LÐ#?Ó?Ð!Ø¨6Õ1°9Ð<Ð<ä+¨LÓGˆØÒ!Ð? LÐ#?Ó?Ð!Ø¨Õ);Ð;Ð;r   c                óŽ   € \         V ,          p\         V,          pV^8X  d   V# V^8X  d   V # V^8  d
   V^8¼  d   R# W#8”  d   V # V# )z¥
Return the unit result of combining *datetime_unit* with *timedelta_unit*
(e.g. by adding or subtracting).  None is returned if combining
those units is forbidden.
Nr   )r,   r-   r.   r/   s   &&  r   Ú combine_datetime_timedelta_unitsr4   ¬   sX   € ô " -Õ0€LÜ! .Õ1€LØ�rÔØÐØ	˜Ô	ØÐØ�aÔ˜L¨AÔ-ÙØÔ"ØÐàÐr   c                ón   € \         V ,          p\         V,          pV^8X  d   V# V^8X  d   V # W28”  d   V# V # )z1
Get the best (i.e. finer-grained) of two units.
r   )Úunit_aÚunit_bÚaÚbs   &&  r   Úget_best_unitr:   À   s?   € ô 	�vÕ€AÜ�vÕ€AØˆB„wØˆØˆB„wØˆØ„uØˆØ€Mr   c                 ó   € R # ©N© ©r8   r9   s   &&r   Údatetime_minimumr?   Ï   ó   € Ùr   c                 ó   € R # r<   r=   r>   s   &&r   Údatetime_maximumrB   Ó   r@   r   )é   é   )é   é   )é   é   )é   é<   )rF   rJ   )é   éè  )é	   rL   )é
   rL   )é   rL   )rD   rL   )é   rL   )Ú__doc__ÚnumpyÚnpr   Útimedelta64ÚastypeÚint64ÚNATr   r   r   r$   r(   r2   r4   r:   r?   rB   r=   r   r   Ú<module>rX      sï   ðñó ð ˆØˆØˆàˆØˆØˆØˆØˆ!Øˆ!Øˆ"Øˆ"Øˆ"Øˆ"Øˆð€ð$ 	‡n‚n�U˜CÓ ×'Ñ'¨¯©Ó1€òCòð0 €wØ€vØ€wØ€wØ€wØ€yØ€yØ€zØˆ
Øˆ
Øˆ
ð€òò4Aò1<òhò(ò	ô	r   