ai-content-maker/.venv/Lib/site-packages/pandas/_libs/tslibs/timezones.pxd

24 lines
485 B
Cython
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
from cpython.datetime cimport (
datetime,
timedelta,
tzinfo,
)
cdef tzinfo utc_pytz
cpdef bint is_utc(tzinfo tz)
cdef bint is_tzlocal(tzinfo tz)
cdef bint is_zoneinfo(tzinfo tz)
cdef bint treat_tz_as_pytz(tzinfo tz)
cpdef bint tz_compare(tzinfo start, tzinfo end)
cpdef object get_timezone(tzinfo tz)
cpdef tzinfo maybe_get_tz(object tz)
cdef timedelta get_utcoffset(tzinfo tz, datetime obj)
cpdef bint is_fixed_offset(tzinfo tz)
cdef object get_dst_info(tzinfo tz)