MCPcopy Create free account

hub / github.com/dateutil/dateutil / functions

Functions1,660 in github.com/dateutil/dateutil

Functiontest_unbounded_cached_rule_roundtrip
(roundtrip, kind)
tests/test_rrule.py:4989
Functiontest_update_tzif_file_to_v1
update_tzif converts TZif files of any version to Version 1.
tests/test_tzfile.py:1707
Functiontest_utc_round_trip
Converting from UTC to local time and back gives the same instant.
tests/test_tzpath_data.py:88
Functiontest_utils_default_tz_info_aware
(NYC)
tests/test_utils.py:38
Functiontest_utils_default_tz_info_naive
(NYC)
tests/test_utils.py:33
Functiontest_utils_today
()
tests/test_utils.py:19
Functiontest_utils_today_tz_info
(NYC)
tests/test_utils.py:24
Functiontest_utils_today_tz_info_different_day
()
tests/test_utils.py:29
Functiontest_utils_within_delta
()
tests/test_utils.py:43
Functiontest_utils_within_delta_with_negative_delta
()
tests/test_utils.py:51
Functiontest_valid_GNU_tzstr
(tz_str, expected)
tests/test_tz.py:1669
Functiontest_valid_dateutil_format
(tz_str, expected)
tests/test_tz.py:1710
Methodtest_valid_tzinfo_callable_input
(self)
tests/test_parser.py:388
Methodtest_valid_tzinfo_int_input
(self)
tests/test_parser.py:398
Methodtest_valid_tzinfo_tzinfo_input
(self)
tests/test_parser.py:374
Methodtest_valid_tzinfo_unicode_input
(self)
tests/test_parser.py:381
Methodtest_validate_hour
(self)
tests/test_parser.py:718
Functiontest_version_matches_distribution_metadata
()
tests/test_imports.py:92
Functiontest_weirdzone_offsets
(dt, offset)
tests/test_tzfile.py:1432
Functiontest_weirdzone_time_none
(zone)
tests/test_tzfile.py:1453
Functiontest_weirdzone_utc
(dt, dt_utc)
tests/test_tzfile.py:1439
Methodtest_ybd
(self)
tests/test_parser.py:226
Functiontest_year_month
(dt)
tests/test_isoparser.py:53
Functiontest_year_month_day
(dt, fmt)
tests/test_isoparser.py:63
Functiontest_year_only
(dt)
tests/test_isoparser.py:46
Functiontest_yearday_is_ordinal_day
(year)
tests/test_relativedelta.py:726
Functiontest_ymd_h
(dt, date_fmt, tzoffset)
tests/test_isoparser.py:94
Functiontest_ymd_hm
(dt, date_fmt, time_fmt, tzoffset)
tests/test_isoparser.py:102
Functiontest_ymd_hms
(dt, date_fmt, time_fmt, tzoffset)
tests/test_isoparser.py:113
Functiontest_ymd_hms_micro
(dt, date_fmt, time_fmt, tzoffset, precision)
tests/test_isoparser.py:126
Functiontest_zoneinfofile_eager_load
()
tests/test_zoneinfo.py:52
Functiontest_zoneinfofile_legacy_stream
(with_metadata)
tests/test_zoneinfo.py:80
Functiontest_zoneinfofile_no_tzdata
(block_tzdata)
tests/test_zoneinfo.py:74
Functiontoday
Returns a :py:class:`datetime` representing the current day at midnight :param tzinfo: The time zone to attach (also used to determi
src/dateutil/utils.py:11
Functiontransition
(request, tzpath_zoneinfo_cache)
tests/test_tzfile.py:47
Methodtransition_utc
(self)
tests/test_tzfile.py:340
Methodtransitions
For a given year, get the DST on and off transition times, expressed always on the standard time side. For zones with no transitions,
src/dateutil/tz/win.py:164
Functiontz_source
Runs a test against each source of IANA time zone data in turn. With ``"tzpath"``, only the data on TZPATH is used and the tzdata package is
tests/conftest.py:24
Methodtzinfos
(*args, **kwargs)
tests/test_parser.py:391
Methodtzinfos
(tzstr)
tests/test_rrule.py:2732
Methodtzname
(self, dt)
src/dateutil/tz/tz.py:148
Methodtzname
(self, dt)
src/dateutil/tz/tz.py:221
Methodtzname
(self, dt)
src/dateutil/tz/tz.py:671
Methodtzname
(self, dt)
src/dateutil/tz/_tzfile.py:211
Methodtzname
(self, dt)
src/dateutil/tz/_common.py:205
Functiontzpath_and_outside_zone
A TZPATH entry, and a zone in a sibling directory outside of it.
tests/test_tzfile.py:1572
Functiontzpath_zoneinfo_cache
(zoneinfo_cache)
tests/test_tzfile.py:304
Methodutcoffset
(self, dt)
src/dateutil/tz/tz.py:142
Methodutcoffset
(self, dt)
src/dateutil/tz/tz.py:203
Methodutcoffset
(self, dt)
src/dateutil/tz/tz.py:658
Methodutcoffset
(self, dt)
src/dateutil/tz/_tzfile.py:205
Methodwall_transition
The local transition time using the (possibly rounded) offsets Identical to ``self.transition`` when sub-minute offsets are supported.
tests/test_tzfile.py:346
Methodwdayset
(self, year, month, day)
src/dateutil/rrule.py:1278
Methodweeks
(self)
src/dateutil/relativedelta.py:267
Functionweirdzone_test_cases
()
tests/test_tzfile.py:741
Functionworker
(key)
tests/test_tzfile.py:2797
Methodydayset
(self, year, month, day)
src/dateutil/rrule.py:1268
Methodyear_to_epoch
Calculates the datetime of the occurrence from the year
src/dateutil/tz/_tzfile.py:1290
Functionzoneinfo_cache
A fixture that extracts TZif files from a JSON file mapping timezone names to base64-encoded gzipped TZif data. The files are extracted
tests/test_tzfile.py:62
Functionzt_as_tuple
(zt)
tests/test_tzfile.py:138
← previous1,601–1,660 of 1,660, ranked by callers