MCPcopy Create free account

hub / github.com/dateutil/dateutil / functions

Functions1,440 in github.com/dateutil/dateutil

↓ 2 callersMethodrebuild
(self, year, month)
src/dateutil/rrule.py:1123
↓ 2 callersMethodset_cache_size
(self, size)
src/dateutil/tz/tz.py:1579
↓ 2 callersMethodset_current_tz
(self)
tests/_common.py:108
↓ 2 callersMethodutcoffset
(self, dt)
src/dateutil/tz/tz.py:74
↓ 2 callersMethodutczone
(self, name)
src/dateutil/parser/_parser.py:351
↓ 2 callersFunctionvaluestodict
Convert a registry key's values to a dictionary.
src/dateutil/tz/win.py:347
↓ 2 callersFunctionwithin_delta
Useful for comparing two datetimes that may have a negligible difference to be considered equal.
src/dateutil/utils.py:64
↓ 2 callersMethodxafter
Generator which yields up to `count` recurrences after the given datetime instance, equivalent to `after`. :param dt:
src/dateutil/rrule.py:230
↓ 1 callersFunctionREADME
()
setup.py:33
↓ 1 callersMethod__add__
(self, other)
src/dateutil/relativedelta.py:317
↓ 1 callersMethod__call__
(cls)
src/dateutil/tz/_factories.py:13
↓ 1 callersMethod__construct_byset
If a `BYXXX` sequence is passed to the constructor at the same level as `FREQ` (e.g. `FREQ=HOURLY,BYHOUR={2,4,7},INTERVAL=3`), there
src/dateutil/rrule.py:1032
↓ 1 callersFunction__deprecate_private_class
(c)
src/dateutil/parser/__init__.py:36
↓ 1 callersFunction__deprecated_private_func
(f)
src/dateutil/parser/__init__.py:21
↓ 1 callersMethod__eq__
(self, other)
src/dateutil/relativedelta.py:520
↓ 1 callersFunction__get_gettz
()
src/dateutil/tz/tz.py:1470
↓ 1 callersFunction__get_kiritimati_resolve_imaginary_test
()
tests/test_tz.py:2760
↓ 1 callersMethod__init__
(self, *args, **kwargs)
src/dateutil/parser/_parser.py:395
↓ 1 callersMethod__init__
(self, weekday)
tests/test_rrule.py:4880
↓ 1 callersMethod__mod_distance
Calculates the next value in a sequence where the `FREQ` parameter is specified along with a `BYXXX` parameter at the same "level"
src/dateutil/rrule.py:1079
↓ 1 callersMethod__mul__
(self, other)
src/dateutil/relativedelta.py:495
↓ 1 callersMethod__neg__
(self)
src/dateutil/relativedelta.py:457
↓ 1 callersMethod__next__
(self)
src/dateutil/parser/_parser.py:189
↓ 1 callersMethod__reduce_ex__
(self, protocol)
src/dateutil/tz/tz.py:870
↓ 1 callersMethod_ampm_valid
For fuzzy parsing, 'a' or 'am' (both valid English words) may erroneously trigger the AM/PM flag. Deal with that here.
src/dateutil/parser/_parser.py:1064
↓ 1 callersMethod_assign_hms
(self, res, value_repr, hms)
src/dateutil/parser/_parser.py:1040
↓ 1 callersMethod_assign_tzname
(self, dt, tzname)
src/dateutil/parser/_parser.py:1242
↓ 1 callersMethod_build_naive
(self, res, default)
src/dateutil/parser/_parser.py:1217
↓ 1 callersMethod_build_tzaware
(self, naive, res, tzinfos)
src/dateutil/parser/_parser.py:1177
↓ 1 callersMethod_build_tzinfo
(self, tzinfos, tzname, tzoffset)
src/dateutil/parser/_parser.py:1159
↓ 1 callersMethod_calculate_weekdate
Calculate the day of corresponding to the ISO year-week-day calendar. This function is effectively the inverse of :func:`dat
src/dateutil/parser/isoparser.py:297
↓ 1 callersMethod_convert
(self, lst)
src/dateutil/parser/_parser.py:309
↓ 1 callersMethod_could_be_tzname
(self, hour, tzname, tzoffset, token)
src/dateutil/parser/_parser.py:1056
↓ 1 callersMethod_delta
(self, x, isend=0)
src/dateutil/tz/tz.py:1111
↓ 1 callersMethod_find_compdt
(self, comp, dt)
src/dateutil/tz/tz.py:1222
↓ 1 callersMethod_find_hms_idx
(self, idx, tokens, info, allow_jump)
src/dateutil/parser/_parser.py:1006
↓ 1 callersMethod_fix
(self)
src/dateutil/relativedelta.py:231
↓ 1 callersMethod_fold_status
Determine the fold status of a "wall" datetime, given a representation of the same datetime as a (naive) UTC datetime. This is calcul
src/dateutil/tz/_common.py:179
↓ 1 callersMethod_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:207
↓ 1 callersFunction_generate_tzoffsets
(limited)
tests/test_isoparser.py:15
↓ 1 callersMethod_iter_cached
(self)
src/dateutil/rrule.py:124
↓ 1 callersFunction_mkoffset
(hmtuple, fmt)
tests/test_isoparser.py:16
↓ 1 callersMethod_parse
Private method which performs the heavy lifting of parsing, called from ``parse()``, which passes on its ``kwargs`` to this function.
src/dateutil/parser/_parser.py:666
↓ 1 callersMethod_parse_date_value
(self, date_value, parms, rule_tzids, ignoretz, tzids, tzinfos)
src/dateutil/rrule.py:1563
↓ 1 callersMethod_parse_hms
(self, idx, tokens, info, hms_idx)
src/dateutil/parser/_parser.py:1111
↓ 1 callersMethod_parse_isodate_common
(self, dt_str)
src/dateutil/parser/isoparser.py:212
↓ 1 callersMethod_parse_isodate_uncommon
(self, dt_str)
src/dateutil/parser/isoparser.py:253
↓ 1 callersMethod_parse_numeric_token
(self, tokens, idx, info, ymd, res, fuzzy)
src/dateutil/parser/_parser.py:875
↓ 1 callersMethod_parse_offset
(self, s)
src/dateutil/tz/tz.py:1314
↓ 1 callersMethod_parse_rfc
(self, s, dtstart=None, cache=False, unfold=False,
src/dateutil/rrule.py:1615
↓ 1 callersMethod_parse_rfc
(self, s)
src/dateutil/tz/tz.py:1330
↓ 1 callersMethod_parse_rfc_rrule
(self, line, dtstart=None, cache=False,
src/dateutil/rrule.py:1537
↓ 1 callersMethod_prepare_EST
(self)
tests/test_tz.py:1846
↓ 1 callersFunction_print_on_nosuchfile
Print helpful troubleshooting message e is an exception raised by subprocess.check_call()
src/dateutil/zoneinfo/rebuild.py:65
↓ 1 callersMethod_read_tzfile
(self, fileobj)
src/dateutil/tz/tz.py:488
↓ 1 callersMethod_recombine_skipped
>>> tokens = ["foo", " ", "bar", " ", "19June2000", "baz"] >>> skipped_idxs = [0, 1, 2, 5] >>> _recombine_skipped(tokens, ski
src/dateutil/parser/_parser.py:1250
↓ 1 callersMethod_resolve_ambiguous_time
(self, dt)
src/dateutil/tz/tz.py:808
↓ 1 callersMethod_resolve_from_stridxs
Try to resolve the identities of year/month/day elements using ystridx, mstridx, and dstridx, if enough of these are specified.
src/dateutil/parser/_parser.py:456
↓ 1 callersFunction_run_zic
Calls the ``zic`` compiler in a compatible way to get a "fat" binary. Recent versions of ``zic`` default to ``-b slim``, while older versions
src/dateutil/zoneinfo/rebuild.py:41
↓ 1 callersMethod_set_months
(self, months)
src/dateutil/relativedelta.py:272
↓ 1 callersMethod_set_tzdata
Set the time zone data of this object from a _tzfile object
src/dateutil/tz/tz.py:482
↓ 1 callersFunction_settzkeyname
()
src/dateutil/tz/win.py:34
↓ 1 callersMethod_test_multi_zones
(self, tzstrs, tzids, func, values, start)
tests/test_tz.py:1839
↓ 1 callersFunctioncalculate_sha512
(fpath)
ci_tools/make_zonefile_metadata.py:28
↓ 1 callersFunctiondatetime_exists
Given a datetime and a time zone, determine whether or not a given datetime would fall in a gap. :param dt: A :class:`datetime.d
src/dateutil/tz/tz.py:1683
↓ 1 callersMethoddst
(self, dt)
src/dateutil/tz/tz.py:77
↓ 1 callersMethodget
Wrapper for :func:`ZoneInfoFile.zones.get`. This is a convenience method for retrieving zones from the zone dictionary. :par
src/dateutil/zoneinfo/__init__.py:54
↓ 1 callersMethodget_current_tz
(self)
tests/_common.py:105
↓ 1 callersMethodget_token
This function breaks the time string into lexical units (tokens), which can be parsed by the parser. Lexical units are demarcated by
src/dateutil/parser/_parser.py:77
↓ 1 callersFunctionget_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:80
↓ 1 callersMethodis_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:84
↓ 1 callersMethodis_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:240
↓ 1 callersMethodis_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/_common.py:154
↓ 1 callersMethodisnum
Whether the next character is part of a number
src/dateutil/parser/_parser.py:209
↓ 1 callersMethodisspace
Whether the next character is whitespace
src/dateutil/parser/_parser.py:214
↓ 1 callersMethodisword
Whether or not the next character is part of a word
src/dateutil/parser/_parser.py:204
↓ 1 callersFunctionmain
(metadata_file)
updatezinfo.py:24
↓ 1 callersMethodnocache
A non-cached version of gettz
src/dateutil/tz/tz.py:1591
↓ 1 callersMethodpertain
(self, name)
src/dateutil/parser/_parser.py:348
↓ 1 callersFunctionpicknthweekday
dayofweek == 0 means Sunday, whichweek 5 means last instance
src/dateutil/tz/win.py:333
↓ 1 callersMethodresolve_ymd
(self, yearfirst, dayfirst)
src/dateutil/parser/_parser.py:474
↓ 1 callersFunctionset_tzpath
Sets the TZPATH variable if it's specified in an environment variable.
tests/conftest.py:23
↓ 1 callersFunctiontest_mlk_day
()
docs/exercises/solutions/mlk_day_rrule_solution.py:33
↓ 1 callersMethodtz_change_allowed
Class method used to query whether or not this class allows time zone changes.
tests/_common.py:67
↓ 1 callersMethodtz_change_disallowed_message
Generate instructions on how to allow tz changes
tests/_common.py:80
↓ 1 callersMethodvalidate
(self, res)
src/dateutil/parser/_parser.py:380
Method__abs__
(self)
src/dateutil/relativedelta.py:439
Method__bool__
(self)
src/dateutil/relativedelta.py:475
Method__call__
(self, n)
src/dateutil/_common.py:13
Method__call__
(self, s, **kwargs)
src/dateutil/rrule.py:1731
Method__call__
(self, name=None)
src/dateutil/tz/tz.py:1552
Method__call__
(cls, name, offset)
src/dateutil/tz/_factories.py:33
Method__call__
(cls, s, posix_offset=False)
src/dateutil/tz/_factories.py:63
Method__contains__
(self, item)
src/dateutil/rrule.py:171
Function__dir__
()
src/dateutil/__init__.py:22
Method__div__
(self, other)
src/dateutil/relativedelta.py:570
Method__enter__
(self)
src/dateutil/tz/tz.py:1843
Method__enter__
(self)
tests/_common.py:88
Method__enter__
(*args, **kwargs)
tests/test_tz.py:175
Method__enter__
(*args, **kwargs)
tests/test_tz.py:445
← previousnext →101–200 of 1,440, ranked by callers