+
    i                     <    R t ^ RIHt ^ RIHtHt RR ltR tR tR# )zs
This module offers general convenience and utility functions for dealing with
datetimes.

.. versionadded:: 2.7.0
)unicode_literals)datetimetimeNc                    \         P                  ! V 4      p\         P                  ! VP                  4       \	        ^ V R7      4      # )a  
Returns a :py:class:`datetime` representing the current day at midnight

:param tzinfo:
    The time zone to attach (also used to determine the current day).

:return:
    A :py:class:`datetime.datetime` object representing the current day
    at midnight.
tzinfo)r   nowcombinedater   )r   dts   & n/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/dateutil/utils.pytodayr      s2     
f	BBGGItAf'=>>    c                F    V P                   e   V # V P                  VR7      # )aP  
Sets the ``tzinfo`` parameter on naive datetimes only

This is useful for example when you are provided a datetime that may have
either an implicit or explicit time zone, such as when parsing a time zone
string.

.. doctest::

    >>> from dateutil.tz import tzoffset
    >>> from dateutil.parser import parse
    >>> from dateutil.utils import default_tzinfo
    >>> dflt_tz = tzoffset("EST", -18000)
    >>> print(default_tzinfo(parse('2014-01-01 12:30 UTC'), dflt_tz))
    2014-01-01 12:30:00+00:00
    >>> print(default_tzinfo(parse('2014-01-01 12:30'), dflt_tz))
    2014-01-01 12:30:00-05:00

:param dt:
    The datetime on which to replace the time zone

:param tzinfo:
    The :py:class:`datetime.tzinfo` subclass instance to assign to
    ``dt`` if (and only if) it is naive.

:return:
    Returns an aware :py:class:`datetime.datetime`.
r   )r   replace)r   r   s   &&r   default_tzinfor      s$    : 
yy	zzz((r   c                V    \        V4      pW,
          pV) Tu;8*  ;'       d    V8*  # u # )zb
Useful for comparing two datetimes that may have a negligible difference
to be considered equal.
)abs)dt1dt2delta
differences   &&& r   within_deltar   @   s/    
 JEJ6Z((5((((r   )N)__doc__
__future__r   r   r   r   r   r    r   r   <module>r      s"    ( #?  )F)r   