MCPcopy Create free account

hub / github.com/dateutil/dateutil / functions

Functions1,660 in github.com/dateutil/dateutil

↓ 1 callersMethod_parse_hms
(self, idx, tokens, info, hms_idx)
src/dateutil/parser/_parser.py:1105
↓ 1 callersMethod_parse_isodate_common
(self, dt_str)
src/dateutil/parser/isoparser.py:219
↓ 1 callersMethod_parse_isodate_uncommon
(self, dt_str)
src/dateutil/parser/isoparser.py:260
↓ 1 callersMethod_parse_numeric_token
(self, tokens, idx, info, ymd, res, fuzzy)
src/dateutil/parser/_parser.py:869
↓ 1 callersMethod_parse_offset
(self, s)
src/dateutil/tz/tz.py:741
↓ 1 callersMethod_parse_rfc
(self, s, dtstart=None, cache=False, unfold=False,
src/dateutil/rrule.py:1627
↓ 1 callersMethod_parse_rfc
(self, s)
src/dateutil/tz/tz.py:759
↓ 1 callersMethod_parse_rfc_rrule
(self, line, dtstart=None, cache=False,
src/dateutil/rrule.py:1549
↓ 1 callersFunction_parse_transition_time
(time_str)
src/dateutil/tz/_tzfile.py:972
↓ 1 callersFunction_parse_tz_delta
(tz_delta)
src/dateutil/tz/_tzfile.py:992
↓ 1 callersFunction_parse_tz_str
(tz_str)
src/dateutil/tz/_tzfile.py:864
↓ 1 callersFunction_parse_tzdata_zi
Returns ({zone: [(stdoff, until), ...]}, {link: target}).
tests/test_tzpath_data.py:261
↓ 1 callersMethod_prepare_EST
(self)
tests/test_tz.py:1925
↓ 1 callersMethod_recombine_skipped
>>> tokens = ["foo", " ", "bar", " ", "19June2000", "baz"] >>> skipped_idxs = [0, 1, 2, 5] >>> _recombine_skipped(tokens, ski
src/dateutil/parser/_parser.py:1244
↓ 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:450
↓ 1 callersMethod_set_months
(self, months)
src/dateutil/relativedelta.py:274
↓ 1 callersFunction_settzkeyname
()
src/dateutil/tz/win.py:28
↓ 1 callersMethod_test_multi_zones
(self, tzstrs, tzids, func, values, start)
tests/test_tz.py:1918
↓ 1 callersMethod_ts_to_local
Generate number of seconds since 1970 *in the local time*. This is necessary to easily find the transition times in local time
src/dateutil/tz/_tzfile.py:584
↓ 1 callersFunction_tzstr_header
()
tests/test_tzfile.py:271
↓ 1 callersMethod_utcoff_to_dstoff
Infer the DST offset (the value of dst()) for each transition. TZif files give the total UTC offset of each local time type and wheth
src/dateutil/tz/_tzfile.py:502
↓ 1 callersFunction_warn_tzpath_escape
(name)
src/dateutil/tz/tz.py:1164
↓ 1 callersMethod_ymd2ord
(cls, year, month, day)
src/dateutil/tz/_tzfile.py:1280
↓ 1 callersFunction_zi_lookup
(abbr, names)
tests/test_tzpath_data.py:217
↓ 1 callersFunction_zi_until
The approximate UTC timestamp of an UNTIL column.
tests/test_tzpath_data.py:230
↓ 1 callersFunction_zone_dump_data
()
tests/test_tzfile.py:397
↓ 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:1258
↓ 1 callersFunctiondownload_tzdb
Download the tzdata and tzcode tarballs.
tests/resources/update_tzif.py:45
↓ 1 callersMethoddst
(self, dt)
src/dateutil/tz/tz.py:69
↓ 1 callersFunctionextract_tzif_files
Extract TZif files from a JSON file and save them to the cache directory. Args: input_file: Path to the JSON file containing the TZi
tests/test_tzfile.py:88
↓ 1 callersFunctionfile_to_text
Compress the file with gzip and base64 encode.
tests/resources/update_tzif.py:180
↓ 1 callersMethodfrom_file
(cls, stream)
src/dateutil/tz/_tzfile.py:813
↓ 1 callersMethodfromutc
Fast track version of fromutc() returns the original ``dt`` object for any valid :py:class:`datetime.datetime` object.
src/dateutil/tz/tz.py:92
↓ 1 callersFunctionget_abbr
(idx)
src/dateutil/tz/_tzfile.py:747
↓ 1 callersMethodget_current_tz
(self)
tests/_common.py:225
↓ 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:73
↓ 1 callersFunctionget_zonedump_data
()
tests/test_tzfile.py:396
↓ 1 callersFunctionhm
(hours, minutes=0, seconds=0)
tests/test_tzfile.py:2650
↓ 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:75
↓ 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:224
↓ 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:50
↓ 1 callersMethodisnum
Whether the next character is part of a number
src/dateutil/parser/_parser.py:203
↓ 1 callersMethodisspace
Whether the next character is whitespace
src/dateutil/parser/_parser.py:208
↓ 1 callersMethodisword
Whether or not the next character is part of a word
src/dateutil/parser/_parser.py:198
↓ 1 callersFunctionload_data
(fobj)
src/dateutil/tz/_tzfile.py:674
↓ 1 callersFunctionmain
()
tests/resources/update_tzif.py:217
↓ 1 callersFunctionmake_tzdb_install
( install_dir: pathlib.Path, cwd: pathlib.Path, slim: bool )
tests/resources/update_tzif.py:161
↓ 1 callersFunctionmake_zone
(version)
tests/test_tzfile.py:1720
↓ 1 callersMethodnocache
A non-cached version of gettz
src/dateutil/tz/tz.py:1020
↓ 1 callersMethodpertain
(self, name)
src/dateutil/parser/_parser.py:342
↓ 1 callersFunctionpicknthweekday
dayofweek == 0 means Sunday, whichweek 5 means last instance
src/dateutil/tz/win.py:333
↓ 1 callersFunctionpop_tzdata_modules
()
tests/_common.py:27
↓ 1 callersFunctionread_required_keys
(loc: pathlib.Path)
tests/resources/update_tzif.py:212
↓ 1 callersMethodresolve_ymd
(self, yearfirst, dayfirst)
src/dateutil/parser/_parser.py:468
↓ 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:187
↓ 1 callersMethodtz_change_disallowed_message
Generate instructions on how to allow tz changes
tests/_common.py:200
↓ 1 callersFunctiontzif_files_to_v1
( input_base_path: pathlib.Path, output_base_path: pathlib.Path )
tests/resources/update_tzif.py:146
↓ 1 callersFunctionunpack_tzdb_tarball
( download_location: pathlib.Path, output_dir: pathlib.Path | None = None, cwd: pathlib.Path | Non
tests/resources/update_tzif.py:67
↓ 1 callersFunctionvalid_key
(fpath)
src/dateutil/tz/tz.py:1213
↓ 1 callersMethodvalidate
(self, res)
src/dateutil/parser/_parser.py:374
↓ 1 callersFunctionwrite_metadata
Record which tzdb release the data files were generated from.
tests/resources/update_tzif.py:202
↓ 1 callersMethodyear_to_epoch
(self, year)
src/dateutil/tz/_tzfile.py:1225
↓ 1 callersFunctionzonefile_to_json
( data_root: pathlib.Path, json_outfile: pathlib.Path, keys: frozenset[str] )
tests/resources/update_tzif.py:188
FunctionNYC
()
tests/test_utils.py:12
Method__abs__
(self)
src/dateutil/relativedelta.py:441
Method__bool__
(self)
src/dateutil/relativedelta.py:477
Method__call__
(self, n)
src/dateutil/_common.py:13
Method__call__
(self, s, **kwargs)
src/dateutil/rrule.py:1746
Method__call__
(self, name=None)
src/dateutil/tz/tz.py:977
Method__call__
(cls, name, offset)
src/dateutil/tz/_factories.py:32
Method__call__
(cls, s, posix_offset=False)
src/dateutil/tz/_factories.py:62
Method__contains__
(self, item)
src/dateutil/rrule.py:186
Function__dir__
()
src/dateutil/__init__.py:21
Function__dir__
()
src/dateutil/tz/__init__.py:39
Method__enter__
(*args, **kwargs)
tests/test_tz.py:191
Method__enter__
(*args, **kwargs)
tests/test_tz.py:463
Method__eq__
(self, other)
src/dateutil/relativedelta.py:520
Method__eq__
(self, other)
src/dateutil/_common.py:19
Method__eq__
(self, other)
src/dateutil/rrule.py:1357
Method__eq__
(self, other)
src/dateutil/tz/tz.py:99
Method__eq__
(self, other)
src/dateutil/tz/tz.py:169
Method__eq__
(self, other)
src/dateutil/tz/tz.py:282
Method__eq__
(self, other)
src/dateutil/tz/tz.py:451
Method__eq__
(self, other)
src/dateutil/tz/_tzfile.py:617
Method__eq__
(self, other)
src/dateutil/tz/_tzfile.py:841
Method__eq__
(self, other)
src/dateutil/tz/win.py:131
Method__eq__
(self, other)
tests/_common.py:318
Method__exit__
(self, type, value, traceback)
tests/_common.py:219
Method__exit__
(*args, **kwargs)
tests/test_tz.py:194
Method__exit__
(*args, **kwargs)
tests/test_tz.py:466
Method__ge__
(self, other)
tests/_common.py:327
Function__getattr__
(name)
src/dateutil/__init__.py:11
Function__getattr__
(name)
src/dateutil/tz/__init__.py:30
Function__getattr__
(name)
src/dateutil/tz/_tzpath.py:6
Method__getitem__
(self, item)
src/dateutil/rrule.py:164
Method__gt__
(self, other)
src/dateutil/rrule.py:1354
Method__gt__
(self, other)
tests/_common.py:333
Method__hash__
(self)
src/dateutil/relativedelta.py:547
Method__hash__
(self)
src/dateutil/_common.py:27
← previousnext →201–300 of 1,660, ranked by callers