MCPcopy Create free account

hub / github.com/dateutil/dateutil / functions

Functions1,660 in github.com/dateutil/dateutil

Methodtest_exit_fold
(self)
tests/test_tz.py:2775
Functiontest_extra_subsecond_digits
(dt_str)
tests/test_isoparser.py:138
Methodtest_extraneous_numerical_content
(self)
tests/test_parser.py:883
Methodtest_extraneous_year
(self)
tests/test_parser.py:837
Methodtest_extraneous_year2
(self)
tests/test_parser.py:857
Methodtest_extraneous_year3
(self)
tests/test_parser.py:866
Methodtest_extraneous_year_tokens
(self)
tests/test_parser.py:845
Functiontest_extreme_tzstr
TZ strings at the edge of the valid range are accepted.
tests/test_tzfile.py:2126
Methodtest_first_century
(self)
tests/test_parser.py:794
Functiontest_fixed_offset_never_ambiguous_or_imaginary
A fixed-offset zone has no ambiguous or imaginary times.
tests/test_tzfile.py:1394
Functiontest_folds_from_utc
(transition)
tests/test_tzfile.py:716
Methodtest_four_letter_day
(self)
tests/test_parser.py:815
Functiontest_fromutc_errors
tzinfo.fromutc invocations that raise an error.
tests/test_tzfile.py:616
Functiontest_full_tzoffsets
(tzoffset)
tests/test_isoparser.py:142
Functiontest_gaps_and_folds
Test times that are ambiguous.
tests/test_tzfile.py:692
Functiontest_generated_aware_dtstart
()
tests/test_rrule.py:4612
Functiontest_generated_aware_dtstart_rrulestr
()
tests/test_rrule.py:4625
Functiontest_gettz_absolute_path
An absolute path to a TZif file is loaded directly and has no key.
tests/test_tzfile.py:2332
Functiontest_gettz_absolute_path_not_a_zone
Absolute paths that are not TZif files return None.
tests/test_tzfile.py:2346
Functiontest_gettz_badzone
(badzone)
tests/test_tz.py:1148
Functiontest_gettz_badzone_unicode
()
tests/test_tz.py:1155
Functiontest_gettz_cache_clear
()
tests/test_tz.py:1188
Functiontest_gettz_invalid_file_on_tzpath_falls_back_to_tzdata
An invalid file on TZPATH falls through to the tzdata package.
tests/test_tzfile.py:1956
Functiontest_gettz_key_attribute_by_source
The key is the string passed to gettz whichever source supplied it.
tests/test_tzfile.py:2315
Functiontest_gettz_key_inside_tzpath_does_not_warn
(tzpath_and_outside_zone, key)
tests/test_tzfile.py:1625
Functiontest_gettz_key_outside_tzpath_can_be_allowed
(tzpath_and_outside_zone)
tests/test_tzfile.py:1608
Functiontest_gettz_key_outside_tzpath_is_an_error
(tzpath_and_outside_zone, key)
tests/test_tzfile.py:1601
Functiontest_gettz_link
A link behaves like its target, but keeps its own key.
tests/test_tz.py:1120
Functiontest_gettz_local_abbreviation_without_time_zone_data
Abbreviations of the local zone that aren't keys give tzlocal().
tests/test_tzfile.py:1984
Functiontest_gettz_missing_search_path_entry
Search path entries that do not exist are skipped, not errors.
tests/test_tzfile.py:2382
Functiontest_gettz_returns_local
(gettz_arg, dt)
tests/property/test_tz_prop.py:59
Functiontest_gettz_same_result_for_none_and_empty_string
()
tests/test_tz.py:1136
Functiontest_gettz_set_cache_size
()
tests/test_tz.py:1197
Functiontest_gettz_skips_invalid_file_on_tzpath
An invalid file on TZPATH falls through to the next TZPATH entry.
tests/test_tzfile.py:1936
Functiontest_gettz_space_for_underscore
Spaces in a key are tried as underscores, whichever source is used.
tests/test_tzfile.py:2295
Functiontest_gettz_thread_safety
Concurrent gettz calls, with the cache being cleared underneath them.
tests/test_tzfile.py:2788
Functiontest_gettz_tzpath_bad_keys
Keys that do not name a zone on the search path return None.
tests/test_tzfile.py:2374
Functiontest_gettz_utc_without_time_zone_data
With no time zone data at all, "UTC" and "GMT" are still UTC.
tests/test_tzfile.py:1977
Functiontest_gettz_weakref
()
tests/test_tz.py:1218
Functiontest_gettz_zone_wrong_type
(badzone, exc_reason)
tests/test_tz.py:1182
Methodtest_height_days
(self)
tests/test_relativedelta.py:747
Methodtest_height_days_set_minus_one_week
(self)
tests/test_relativedelta.py:773
Methodtest_hmBY
(self)
tests/test_parser.py:712
Methodtest_hour_sanity
(self, fuzzy)
tests/test_parser.py:764
Methodtest_idx_check
(self)
tests/test_parser.py:705
Methodtest_illegal_month_error
(self)
tests/test_parser.py:750
Functiontest_import_easter_direct
()
tests/test_imports.py:99
Functiontest_import_easter_from
()
tests/test_imports.py:103
Functiontest_import_easter_start
()
tests/test_imports.py:107
Functiontest_import_parser_all
()
tests/test_imports.py:120
Functiontest_import_parser_direct
()
tests/test_imports.py:112
Functiontest_import_parser_from
()
tests/test_imports.py:116
Functiontest_import_relative_delta_all
()
tests/test_imports.py:137
Functiontest_import_relative_delta_direct
()
tests/test_imports.py:130
Functiontest_import_relative_delta_from
()
tests/test_imports.py:134
Functiontest_import_rrule_all
()
tests/test_imports.py:157
Functiontest_import_rrule_direct
()
tests/test_imports.py:149
Functiontest_import_rrule_from
()
tests/test_imports.py:153
Functiontest_import_tz_all
()
tests/test_imports.py:200
Functiontest_import_tz_from
()
tests/test_imports.py:196
Functiontest_import_tz_windows_direct
()
tests/test_imports.py:230
Functiontest_import_tz_windows_from
()
tests/test_imports.py:235
Functiontest_import_tz_windows_star
()
tests/test_imports.py:240
Functiontest_import_tztest_direct
()
tests/test_imports.py:192
Functiontest_import_version_root
()
tests/test_imports.py:87
Functiontest_import_version_str
Test that dateutil.__version__ can be imported
tests/test_imports.py:82
Functiontest_import_without_six
Imports the public modules with six unavailable.
tests/test_imports.py:276
Functiontest_import_zone_info_direct
(clean_import)
tests/test_imports.py:250
Functiontest_import_zone_info_from
(clean_import)
tests/test_imports.py:257
Functiontest_import_zone_info_star
(clean_import)
tests/test_imports.py:264
Functiontest_imported_modules
Test that `from dateutil import *` adds modules in __all__ locally
tests/test_import_star.py:15
Methodtest_includes_timestr
(self)
tests/test_parser.py:729
Methodtest_int_invalid
(self)
tests/test_parser.py:301
Functiontest_invalid_GNU_tzstr
(tz_str)
tests/test_tz.py:1728
Functiontest_invalid_transition_index
A transition index past the end of the ttinfo table is an error.
tests/test_tzfile.py:2011
Methodtest_invalid_tzinfo_input
(self)
tests/test_parser.py:367
Functiontest_invalid_tzpath_warning_is_zoneinfos
()
tests/test_tzfile.py:2523
Functiontest_invalid_tzstr
Malformed TZ strings raise ValueError naming the string.
tests/test_tzfile.py:2237
Functiontest_invalid_tzstr_non_ascii
(tzstr)
tests/test_tzfile.py:2254
Functiontest_is_ambiguous_none
is_ambiguous(None) is False, as it is for other tzinfo classes.
tests/test_tzfile.py:1426
Functiontest_iso_ordinal
(isoord, dt_expected)
tests/test_isoparser.py:210
Functiontest_iso_raises
(isostr, exception)
tests/test_isoparser.py:276
Functiontest_iso_with_sep_raises
(sep_act, valid_sep, exception)
tests/test_isoparser.py:285
Functiontest_isodate_raises
(isostr, exception)
tests/test_isoparser.py:409
Functiontest_isoparse_sep_none
(datestr, sep)
tests/test_isoparser.py:169
Functiontest_isoparser_byte_sep
()
tests/test_isoparser.py:303
Functiontest_isoparser_invalid_sep
(sep)
tests/test_isoparser.py:295
Functiontest_isotime
(time_val, time_fmt, as_bytes)
tests/test_isoparser.py:472
Functiontest_isotime_midnight
(isostr)
tests/test_isoparser.py:492
Functiontest_isotime_raises
(isostr, exception)
tests/test_isoparser.py:525
Functiontest_isoweek
(isocal, dt_expected)
tests/test_isoparser.py:185
Functiontest_isoweek_day
(isocal, dt_expected)
tests/test_isoparser.py:197
Methodtest_key_attribute
(self)
tests/test_tz.py:1092
Functiontest_key_property
Every available key loads, and keeps the key it was loaded with.
tests/property/test_tz_prop.py:19
Functiontest_lazy_import
Test that dateutil.[submodule] loads lazily
tests/test_imports.py:43
Functiontest_lazy_import_zoneinfo
Test that zoneinfo raises a DeprecationWarning when imported lazily.
tests/test_imports.py:68
Functiontest_leap_seconds_and_indicators
Leap second records and indicators don't change how a zone behaves.
tests/test_tzfile.py:1644
Functiontest_legacy_gettz
()
tests/test_zoneinfo.py:96
Functiontest_matches_zoneinfo
utcoffset, tzname and fromutc agree with the stdlib zoneinfo.
tests/test_tzpath_data.py:119
Methodtest_minus_height_days
(self)
tests/test_relativedelta.py:752
← previousnext →1,401–1,500 of 1,660, ranked by callers