Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dateutil/dateutil
/ functions
Functions
1,440 in github.com/dateutil/dateutil
⨍
Functions
1,440
◇
Types & classes
102
↳
Endpoints
12
Method
__rsub__
(self, other)
src/dateutil/relativedelta.py:407
Method
__setstate__
(self, state)
src/dateutil/tz/tz.py:367
Method
__str__
Output a string that would generate this RRULE if passed to rrulestr. This is mostly compatible with RFC5545, except for the
src/dateutil/rrule.py:700
Method
__str__
(self)
src/dateutil/parser/_parser.py:1597
Method
__str__
(self)
src/dateutil/tz/win.py:325
Method
__sub__
(self, other)
src/dateutil/relativedelta.py:410
Method
_cmp
(self, other)
tests/_common.py:174
Method
_dst_base_offset
(self)
src/dateutil/tz/tz.py:1032
Method
_dst_base_offset
(self)
src/dateutil/tz/win.py:198
Method
_dst_base_offset
(self)
src/dateutil/tz/_common.py:408
Method
_get_nobj_bytes
Pickle and unpickle an object using ``pickle.dumps`` / ``pickle.loads``
tests/_common.py:13
Method
_get_nobj_file
Pickle and unpickle an object using ``pickle.dump`` / ``pickle.load`` on a temporary file.
tests/_common.py:20
Method
_gettz_context
(self, tzname)
tests/test_tz.py:874
Method
_handle_BYWEEKDAY
Two ways to specify this: +1MO or MO(+1)
src/dateutil/rrule.py:1509
Method
_handle_FREQ
(self, rrkwargs, name, value, **kwargs)
src/dateutil/rrule.py:1492
Method
_handle_UNTIL
(self, rrkwargs, name, value, **kwargs)
src/dateutil/rrule.py:1495
Method
_handle_WKST
(self, rrkwargs, name, value, **kwargs)
src/dateutil/rrule.py:1506
Method
_handle_int
(self, rrkwargs, name, value, **kwargs)
src/dateutil/rrule.py:1474
Method
_handle_int_list
(self, rrkwargs, name, value, **kwargs)
src/dateutil/rrule.py:1477
Function
_invalidates_cache
Decorator for rruleset methods which may invalidate the cached length.
src/dateutil/rrule.py:80
Method
_iter
(self)
src/dateutil/rrule.py:1383
Method
_op
(self, other)
tests/_common.py:171
Function
_takes_ascii
(f)
src/dateutil/parser/isoparser.py:22
Function
_validate_fromutc_inputs
The CPython version of ``fromutc`` checks that the input is a ``datetime`` object and that ``self`` is attached as its ``tzinfo``.
src/dateutil/tz/_common.py:132
Function
adjust_encoding
(*args, **kwargs)
src/dateutil/tz/_common.py:21
Function
clean_import
Create a somewhat clean import base for lazy import tests
tests/test_imports.py:22
Function
datetime_ambiguous
Given a datetime and a time zone, determine whether or not a given datetime is ambiguous (i.e if there are two times differentiated only by t
src/dateutil/tz/tz.py:1717
Method
ddayset
(self, year, month, day)
src/dateutil/rrule.py:1278
Function
default_tzinfo
Sets the ``tzinfo`` parameter on naive datetimes only This is useful for example when you are provided a datetime that may have either a
src/dateutil/utils.py:29
Function
deprecated_func
(*args, **kwargs)
src/dateutil/parser/__init__.py:30
Method
display
Return the display name of the time zone.
src/dateutil/tz/win.py:157
Method
dst
(self, dt)
src/dateutil/tz/tz.py:157
Method
dst
(self, dt)
src/dateutil/tz/tz.py:227
Method
dst
(self, dt)
src/dateutil/tz/tz.py:830
Method
dst
(self, dt)
src/dateutil/tz/tz.py:1236
Function
filter_import_warning
(f)
tests/test_imports.py:17
Method
fold
(self)
src/dateutil/tz/_common.py:99
Function
fromutc
(self, dt)
src/dateutil/tz/_common.py:138
Method
fromutc
Fast track version of fromutc() returns the original ``dt`` object for any valid :py:class:`datetime.datetime` object.
src/dateutil/tz/tz.py:101
Method
fromutc
(self, dt)
src/dateutil/tz/tz.py:165
Method
fromutc
The ``tzfile`` implementation of :py:func:`datetime.tzinfo.fromutc`. :param dt: A :py:class:`datetime.datetime` object.
src/dateutil/tz/tz.py:743
Method
fromutc
Given a timezone-aware datetime in a given timezone, calculates a timezone-aware datetime in a new timezone. Since this is t
src/dateutil/tz/_common.py:245
Method
fromutc
Given a datetime in UTC, return local time
src/dateutil/tz/_common.py:319
Function
fuzzy
Fixture to pass fuzzy=True or fuzzy=False to parse
tests/test_parser.py:34
Method
get_args
(self, tzname)
tests/test_tz.py:2266
Method
get_current_tz
(self)
tests/_common.py:124
Method
get_current_tz
(self)
tests/_common.py:144
Function
gettz
This retrieves a time zone from the local zoneinfo tarball that is packaged with dateutil. :param name: An IANA-style time zone
src/dateutil/zoneinfo/__init__.py:109
Method
gettz
(self, tzname)
tests/test_tz.py:870
Method
gettz
(self, tzname)
tests/test_tz.py:1288
Method
gettz
(self, tzname)
tests/test_tz.py:1808
Function
gettz_db_metadata
Get the zonefile metadata See `zonefile_metadata`_ :returns: A dictionary with the database metadata .. deprecated:: 2.6
src/dateutil/zoneinfo/__init__.py:147
Method
has_day
(self)
src/dateutil/parser/_parser.py:411
Method
has_month
(self)
src/dateutil/parser/_parser.py:407
Method
has_year
(self)
src/dateutil/parser/_parser.py:403
Method
htimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1284
Function
inner_func
(self, *args, **kwargs)
src/dateutil/rrule.py:86
Method
is_ambiguous
Whether or not the "wall time" of a given datetime is ambiguous in this zone. :param dt: A :py:class:`datetime.d
src/dateutil/tz/tz.py:168
Method
is_ambiguous
(self, dt, other_arg)
tests/test_tz.py:2553
Method
list
Return a list of all time zones known to the system.
src/dateutil/tz/win.py:149
Method
make_bad_hour_rrule
()
tests/test_rrule.py:2362
Method
make_bad_minute_rrule
()
tests/test_rrule.py:2358
Method
make_bad_rrule
()
tests/test_rrule.py:2346
Function
mark_tzlocal_nix
(f)
tests/test_tz.py:959
Method
mdayset
(self, year, month, day)
src/dateutil/rrule.py:1256
Method
mtimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1294
Method
next
(self)
src/dateutil/parser/_parser.py:196
Method
parse
(self, tzstr)
src/dateutil/parser/_parser.py:1390
Method
parse_tzstr
Parse a valid ISO time zone string. See :func:`isoparser.isoparse` for details on supported formats. :param tzstr:
src/dateutil/parser/isoparser.py:182
Function
pointer_mock
(*args, **kwargs)
docs/conf.py:195
Function
pytest_collection_modifyitems
(items)
tests/conftest.py:7
Function
rebuild
Rebuild the internal timezone info in dateutil/zoneinfo/zoneinfo*tar* filename is the timezone tarball from ``ftp.iana.org/tz``.
src/dateutil/zoneinfo/rebuild.py:12
Function
resolve_imaginary
Given a datetime that may be imaginary, return an existing datetime. This function assumes that an imaginary datetime represents what the
src/dateutil/tz/tz.py:1763
Method
run
(self)
setup.py:24
Method
setUp
(self)
tests/test_tz.py:2123
Method
setUp
(self)
tests/test_tz.py:2262
Method
setUp
(self)
tests/test_tz.py:2380
Method
set_current_tz
(self, tzval)
tests/_common.py:127
Method
set_current_tz
(self, tzname)
tests/_common.py:155
Method
setup_class
(cls)
tests/test_parser.py:411
Method
stimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1302
Method
test15thISOYearWeek
(self)
tests/test_relativedelta.py:146
Method
testAMPMNoHour
(self)
tests/test_parser.py:482
Method
testAMPMRange
(self)
tests/test_parser.py:489
Method
testAbsoluteAddition
(self)
tests/test_relativedelta.py:202
Method
testAbsoluteValueNegative
(self)
tests/test_relativedelta.py:291
Method
testAbsoluteValuePositive
(self)
tests/test_relativedelta.py:298
Method
testAddMoreThan12Months
(self)
tests/test_relativedelta.py:138
Method
testAddNegativeMonths
(self)
tests/test_relativedelta.py:142
Method
testAddTimedeltaToPopulatedRelativeDelta
(self)
tests/test_relativedelta.py:598
Method
testAddTimedeltaToUnpopulatedRelativedelta
(self)
tests/test_relativedelta.py:576
Method
testAddition
(self)
tests/test_relativedelta.py:195
Method
testAdditionFloatFractionals
(self)
tests/test_relativedelta.py:232
Method
testAdditionFloatValue
(self)
tests/test_relativedelta.py:224
Method
testAdditionInvalidType
(self)
tests/test_relativedelta.py:216
Method
testAdditionToDatetime
(self)
tests/test_relativedelta.py:208
Method
testAdditionUnsupportedType
(self)
tests/test_relativedelta.py:220
Method
testAfter
(self)
tests/test_rrule.py:2525
Method
testAfterInc
(self)
tests/test_rrule.py:2532
Method
testAmbiguity
(self)
tests/test_tz.py:664
← previous
next →
301–400 of 1,440, ranked by callers