MCPcopy Create free account

hub / github.com/dateutil/dateutil / functions

Functions1,440 in github.com/dateutil/dateutil

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
Functionadjust_encoding
(*args, **kwargs)
src/dateutil/tz/_common.py:21
Functionclean_import
Create a somewhat clean import base for lazy import tests
tests/test_imports.py:22
Functiondatetime_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
Methodddayset
(self, year, month, day)
src/dateutil/rrule.py:1278
Functiondefault_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
Functiondeprecated_func
(*args, **kwargs)
src/dateutil/parser/__init__.py:30
Methoddisplay
Return the display name of the time zone.
src/dateutil/tz/win.py:157
Methoddst
(self, dt)
src/dateutil/tz/tz.py:157
Methoddst
(self, dt)
src/dateutil/tz/tz.py:227
Methoddst
(self, dt)
src/dateutil/tz/tz.py:830
Methoddst
(self, dt)
src/dateutil/tz/tz.py:1236
Functionfilter_import_warning
(f)
tests/test_imports.py:17
Methodfold
(self)
src/dateutil/tz/_common.py:99
Functionfromutc
(self, dt)
src/dateutil/tz/_common.py:138
Methodfromutc
Fast track version of fromutc() returns the original ``dt`` object for any valid :py:class:`datetime.datetime` object.
src/dateutil/tz/tz.py:101
Methodfromutc
(self, dt)
src/dateutil/tz/tz.py:165
Methodfromutc
The ``tzfile`` implementation of :py:func:`datetime.tzinfo.fromutc`. :param dt: A :py:class:`datetime.datetime` object.
src/dateutil/tz/tz.py:743
Methodfromutc
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
Methodfromutc
Given a datetime in UTC, return local time
src/dateutil/tz/_common.py:319
Functionfuzzy
Fixture to pass fuzzy=True or fuzzy=False to parse
tests/test_parser.py:34
Methodget_args
(self, tzname)
tests/test_tz.py:2266
Methodget_current_tz
(self)
tests/_common.py:124
Methodget_current_tz
(self)
tests/_common.py:144
Functiongettz
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
Methodgettz
(self, tzname)
tests/test_tz.py:870
Methodgettz
(self, tzname)
tests/test_tz.py:1288
Methodgettz
(self, tzname)
tests/test_tz.py:1808
Functiongettz_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
Methodhas_day
(self)
src/dateutil/parser/_parser.py:411
Methodhas_month
(self)
src/dateutil/parser/_parser.py:407
Methodhas_year
(self)
src/dateutil/parser/_parser.py:403
Methodhtimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1284
Functioninner_func
(self, *args, **kwargs)
src/dateutil/rrule.py:86
Methodis_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
Methodis_ambiguous
(self, dt, other_arg)
tests/test_tz.py:2553
Methodlist
Return a list of all time zones known to the system.
src/dateutil/tz/win.py:149
Methodmake_bad_hour_rrule
()
tests/test_rrule.py:2362
Methodmake_bad_minute_rrule
()
tests/test_rrule.py:2358
Methodmake_bad_rrule
()
tests/test_rrule.py:2346
Functionmark_tzlocal_nix
(f)
tests/test_tz.py:959
Methodmdayset
(self, year, month, day)
src/dateutil/rrule.py:1256
Methodmtimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1294
Methodnext
(self)
src/dateutil/parser/_parser.py:196
Methodparse
(self, tzstr)
src/dateutil/parser/_parser.py:1390
Methodparse_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
Functionpointer_mock
(*args, **kwargs)
docs/conf.py:195
Functionpytest_collection_modifyitems
(items)
tests/conftest.py:7
Functionrebuild
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
Functionresolve_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
Methodrun
(self)
setup.py:24
MethodsetUp
(self)
tests/test_tz.py:2123
MethodsetUp
(self)
tests/test_tz.py:2262
MethodsetUp
(self)
tests/test_tz.py:2380
Methodset_current_tz
(self, tzval)
tests/_common.py:127
Methodset_current_tz
(self, tzname)
tests/_common.py:155
Methodsetup_class
(cls)
tests/test_parser.py:411
Methodstimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1302
Methodtest15thISOYearWeek
(self)
tests/test_relativedelta.py:146
MethodtestAMPMNoHour
(self)
tests/test_parser.py:482
MethodtestAMPMRange
(self)
tests/test_parser.py:489
MethodtestAbsoluteAddition
(self)
tests/test_relativedelta.py:202
MethodtestAbsoluteValueNegative
(self)
tests/test_relativedelta.py:291
MethodtestAbsoluteValuePositive
(self)
tests/test_relativedelta.py:298
MethodtestAddMoreThan12Months
(self)
tests/test_relativedelta.py:138
MethodtestAddNegativeMonths
(self)
tests/test_relativedelta.py:142
MethodtestAddTimedeltaToPopulatedRelativeDelta
(self)
tests/test_relativedelta.py:598
MethodtestAddTimedeltaToUnpopulatedRelativedelta
(self)
tests/test_relativedelta.py:576
MethodtestAddition
(self)
tests/test_relativedelta.py:195
MethodtestAdditionFloatFractionals
(self)
tests/test_relativedelta.py:232
MethodtestAdditionFloatValue
(self)
tests/test_relativedelta.py:224
MethodtestAdditionInvalidType
(self)
tests/test_relativedelta.py:216
MethodtestAdditionToDatetime
(self)
tests/test_relativedelta.py:208
MethodtestAdditionUnsupportedType
(self)
tests/test_relativedelta.py:220
MethodtestAfter
(self)
tests/test_rrule.py:2525
MethodtestAfterInc
(self)
tests/test_rrule.py:2532
MethodtestAmbiguity
(self)
tests/test_tz.py:664
← previousnext →301–400 of 1,440, ranked by callers