MCPcopy Create free account

hub / github.com/dateutil/dateutil / functions

Functions1,660 in github.com/dateutil/dateutil

Method_handle_WKST
(self, rrkwargs, name, value, **kwargs)
src/dateutil/rrule.py:1518
Method_handle_int
(self, rrkwargs, name, value, **kwargs)
src/dateutil/rrule.py:1486
Method_handle_int_list
(self, rrkwargs, name, value, **kwargs)
src/dateutil/rrule.py:1489
Function_invalidates_cache
Decorator for rruleset methods which may invalidate the cached length.
src/dateutil/rrule.py:73
Function_is_tzif
(fpath: pathlib.Path)
tests/resources/update_tzif.py:30
Method_iter
(self)
src/dateutil/rrule.py:1397
Function_last_transition_fold_before_tzstr
()
tests/test_tzfile.py:829
Function_last_transition_inside_tzstr_dst
()
tests/test_tzfile.py:862
Function_last_transition_same_offset_as_tzstr
()
tests/test_tzfile.py:906
Function_load_tzdata
(key)
src/dateutil/_tzdata_impl.py:39
Function_near_min_and_max_year_cases
()
tests/test_tzfile.py:1755
Function_no_tzstr_zone
()
tests/test_tzfile.py:963
Function_one_transition
()
tests/test_tzfile.py:762
Function_one_transition_fold
()
tests/test_tzfile.py:798
Function_one_transition_zone_dst
()
tests/test_tzfile.py:938
Method_op
(self, other)
tests/_common.py:291
Function_pickle_roundtrip
(value, protocol=pickle.HIGHEST_PROTOCOL)
tests/test_rrule.py:4913
Function_takes_ascii
(f)
src/dateutil/parser/isoparser.py:20
Function_tz_no_transitions_before_only
()
tests/test_tzfile.py:994
Function_tzstr_aest10_aedt
()
tests/test_tzfile.py:1180
Function_tzstr_fixed_offset_quoted_numerical
()
tests/test_tzfile.py:1235
Function_tzstr_gmt0bst1
()
tests/test_tzfile.py:1153
Function_tzstr_minute_second_transition_times
()
tests/test_tzfile.py:1354
Function_tzstr_negative_dst
()
tests/test_tzfile.py:1208
Function_tzstr_negative_transition_times
()
tests/test_tzfile.py:1328
Function_tzstr_permanent_dst
()
tests/test_tzfile.py:1268
Function_tzstr_quoted_std_and_dst_trans_at_24
()
tests/test_tzfile.py:1252
Function_tzstr_standard_est5edt
()
tests/test_tzfile.py:1122
Function_tzstr_transitions_on_julian_day
()
tests/test_tzfile.py:1292
Function_unpickle
(cls, key, filename, data)
src/dateutil/tz/_tzfile.py:38
Function_unreadable_file
(path)
tests/test_tzfile.py:1912
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:28
Function_very_large_timestamp_zone
Tests using a zone with transitions very far in the past and future. Particularly, this is a concern if something: 1. Attempts t
tests/test_tzfile.py:1028
Functionadd_cases
(f)
tests/test_tzfile.py:745
Methodanomaly_end
(self)
tests/test_tzfile.py:378
Methodanomaly_start
(self)
tests/test_tzfile.py:371
Functionas_list
(f)
tests/test_tzfile.py:310
Functionavailable_iana_timezones
Returns a set containing all available IANA time zones keys. These are suitable for use with :func:`gettz`. This is essentially a direct port
src/dateutil/tz/tz.py:1179
Functionblock_tzdata
Makes the tzdata package impossible to import.
tests/conftest.py:41
Functionclean_import
Create a somewhat clean import base for lazy import tests
tests/test_imports.py:12
Functionclearer
()
tests/test_tzfile.py:2808
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:1292
Methodddayset
(self, year, month, day)
src/dateutil/rrule.py:1293
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:27
Methoddelta
(self)
tests/test_tzfile.py:367
Functiondeprecated_func
(*args, **kwargs)
src/dateutil/parser/__init__.py:33
Methoddisplay
Return the display name of the time zone.
src/dateutil/tz/win.py:158
Methoddst
(self, dt)
src/dateutil/tz/tz.py:145
Methoddst
(self, dt)
src/dateutil/tz/tz.py:212
Methoddst
(self, dt)
src/dateutil/tz/tz.py:664
Methoddst
(self, dt)
src/dateutil/tz/_tzfile.py:208
Methodfold
Whether this introduces a fold
tests/test_tzfile.py:357
Functionfromutc
(self, dt)
src/dateutil/tz/_common.py:34
Methodfromutc
(self, dt)
src/dateutil/tz/tz.py:152
Methodfromutc
The ``tzfile`` implementation of :py:func:`datetime.tzinfo.fromutc`. :param dt: A :py:class:`datetime.datetime` object.
src/dateutil/tz/_tzfile.py:214
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:138
Methodfromutc
Given a datetime in UTC, return local time
src/dateutil/tz/_common.py:211
Functionfuzzy
Fixture to pass fuzzy=True or fuzzy=False to parse
tests/test_parser.py:32
Methodgap
Whether this introduces a gap
tests/test_tzfile.py:362
Methodget_args
(self, tzname)
tests/test_tz.py:2341
Methodget_current_tz
(self)
tests/_common.py:244
Methodget_current_tz
(self)
tests/_common.py:264
Functionget_zonefile_instance
This is a convenience function which provides a :class:`ZoneInfoFile` instance using the data provided by the ``dateutil`` package. By defaul
src/dateutil/zoneinfo/__init__.py:140
Functiongettz
This retrieves a time zone from the ``tzdata`` package. :param name: An IANA-style time zone name, as found in the zoneinfo file.
src/dateutil/zoneinfo/__init__.py:169
Methodgettz
(self, tzname)
tests/test_tz.py:877
Methodgettz
(self, tzname)
tests/test_tz.py:1364
Methodgettz
(self, tzname)
tests/test_tz.py:1887
Functiongettz_db_metadata
Get the zonefile metadata :returns: A dictionary with the database metadata .. deprecated:: 2.6 See deprecation warning in :
src/dateutil/zoneinfo/__init__.py:206
Methodhas_day
(self)
src/dateutil/parser/_parser.py:405
Methodhas_month
(self)
src/dateutil/parser/_parser.py:401
Methodhas_year
(self)
src/dateutil/parser/_parser.py:397
Methodhtimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1299
Functioninner_func
(self, *args, **kwargs)
src/dateutil/rrule.py:79
Functioninner_func
(*args, **kwargs)
tests/test_tzfile.py:312
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:155
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/_tzfile.py:176
Methodkey
Read-only attribute returning the ``key`` constructor argument. For zones generated from :func:`gettz`, this will be the IANA key
src/dateutil/tz/_tzfile.py:161
Methodlist
Return a list of all time zones known to the system.
src/dateutil/tz/win.py:150
Methodmake_bad_hour_rrule
()
tests/test_rrule.py:2352
Methodmake_bad_minute_rrule
()
tests/test_rrule.py:2348
Methodmake_bad_rrule
()
tests/test_rrule.py:2337
Functionmark_tzlocal_nix
(f)
tests/test_tz.py:966
Methodmdayset
(self, year, month, day)
src/dateutil/rrule.py:1271
Methodmtimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1309
Methodparse
(self, tzstr)
src/dateutil/parser/_parser.py:1384
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:180
Functionpointer_mock
(*args, **kwargs)
docs/conf.py:190
Functionpytest_collection_modifyitems
(items)
tests/conftest.py:13
Methodread
(self, *args, **kwargs)
tests/test_parser.py:313
Functionrebuild
Formerly rebuilt the zoneinfo tarball bundled with ``dateutil``. ``dateutil`` no longer ships a zoneinfo tarball; it reads time zone data fro
src/dateutil/zoneinfo/rebuild.py:18
Functionrecurrence_options
Finite rules with varied frequencies, weekdays, intervals and timezones.
tests/property/test_rrule_prop.py:15
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:1338
MethodsetUp
(self)
tests/_common.py:116
MethodsetUp
(self)
tests/test_tz.py:2198
MethodsetUp
(self)
tests/test_tz.py:2337
MethodsetUp
(self)
tests/test_tz.py:2455
Methodset_current_tz
(self, tzval)
tests/_common.py:247
Methodset_current_tz
(self, tzname)
tests/_common.py:275
Methodsetup_class
(cls)
tests/test_parser.py:409
Methodstimeset
(self, hour, minute, second)
src/dateutil/rrule.py:1317
← previousnext →401–500 of 1,660, ranked by callers