Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dateutil/dateutil
/ functions
Functions
1,660 in github.com/dateutil/dateutil
⨍
Functions
1,660
◇
Types & classes
115
↳
Endpoints
17
Method
test_minus_height_days_set_minus_one_week
(self)
tests/test_relativedelta.py:779
Method
test_minus_one_day
(self)
tests/test_relativedelta.py:742
Method
test_minus_one_day_set_one_week
(self)
tests/test_relativedelta.py:767
Method
test_minute_sanity
(self, fuzzy)
tests/test_parser.py:759
Function
test_missing_footer_newline
Version 2+ files must have a newline before the TZ string.
tests/test_tzfile.py:1999
Method
test_mstridx
(self)
tests/test_parser.py:699
Function
test_no_transitions_uses_time_type_0
Without transitions or a TZ string, local time is time type 0.
tests/test_tzfile.py:1468
Function
test_no_tz_data
Test what happens when no TZ data is available.
tests/test_tzfile.py:582
Method
test_no_year_zero
(self)
tests/test_parser.py:742
Method
test_non_date_number
(self)
tests/test_parser.py:822
Method
test_none_invalid
(self)
tests/test_parser.py:297
Method
test_on_era
(self)
tests/test_parser.py:828
Method
test_one_day
(self)
tests/test_relativedelta.py:737
Method
test_one_day_set_one_week
(self)
tests/test_relativedelta.py:761
Method
test_out_of_bound_day
(self)
tests/test_parser.py:746
Method
test_parse_bytearray
(self)
tests/test_parser.py:343
Method
test_parse_bytes
(self)
tests/test_parser.py:338
Function
test_parse_dayfirst
(sep)
tests/test_parser.py:169
Function
test_parse_ignoretz
(dstr, expected)
tests/test_parser.py:198
Function
test_parse_isodate
(d, dt_fmt, as_bytes)
tests/test_isoparser.py:380
Function
test_parse_isodate_error_text
()
tests/test_isoparser.py:414
Method
test_parse_str
(self)
tests/test_parser.py:329
Method
test_parse_stream
(self)
tests/test_parser.py:322
Function
test_parse_tzinfos_fold
()
tests/test_parser.py:930
Function
test_parse_tzstr
(tzoffset)
tests/test_isoparser.py:315
Function
test_parse_tzstr_fails
(tzstr, exception)
tests/test_isoparser.py:348
Function
test_parse_tzstr_zero_as_utc
(tzstr, zero_as_utc)
tests/test_isoparser.py:327
Method
test_parse_unambiguous_nonexistent_local
(self)
tests/test_parser.py:894
Function
test_parse_with_tzoffset
(dstr, expected)
tests/test_parser.py:218
Function
test_parse_yearfirst
(sep)
tests/test_parser.py:178
Function
test_parser
(parsable_text, expected_datetime, assertion_message)
tests/test_parser.py:107
Function
test_parser_default
(parsable_text, expected_datetime, assertion_message)
tests/test_parser.py:164
Function
test_parser_parser_private_not_warns
()
tests/test_internals.py:59
Function
test_parser_private_warns
()
tests/test_internals.py:45
Function
test_parsererror_repr
()
tests/test_parser.py:961
Function
test_pickle_gettz
(tz_source, asfile)
tests/test_tz.py:2506
Function
test_pickle_no_extra_state
A plain tzfile is pickled entirely from its data. If this fails, an attribute set when loading a tzfile is missing from tzfile._UNPICKLE_ATTR
tests/test_tzfile.py:2627
Function
test_pickle_subclass_attributes
Pickling preserves attributes added by subclasses.
tests/test_tzfile.py:2600
Function
test_rebuild_can_be_ignored
()
tests/test_zoneinfo.py:140
Function
test_rebuild_filter_can_be_overridden
(tmp_path)
tests/test_zoneinfo.py:125
Function
test_rebuild_is_an_error_by_default
(tmp_path)
tests/test_zoneinfo.py:115
Function
test_resolve_imaginary
(tz_source, key, dt, dt_exp)
tests/test_tz.py:2901
Function
test_resolve_imaginary_ambiguous
(tz_source, key, dt)
tests/test_tz.py:2831
Function
test_resolve_imaginary_existing
(tz_source, key, dt)
tests/test_tz.py:2851
Function
test_resolve_imaginary_existing_fixed
(dt)
tests/test_tz.py:2861
Function
test_restored_rruleset_can_invalidate_cache
Changing a restored set must invalidate its populated cache only.
tests/test_rrule.py:4966
Function
test_rounding_floatlike_strings
(dtstr, dt)
tests/test_parser.py:950
Function
test_roundtrip_cache_setting_smoke
Smoke test: keep caching enabled without copying cached results.
tests/test_rrule.py:5069
Function
test_rrule_roundtrip
(roundtrip, kind, state)
tests/test_rrule.py:4927
Function
test_rrule_roundtrip
(options, protocol, cache_state, operation)
tests/property/test_rrule_prop.py:55
Function
test_rrule_subclass_state_roundtrip
(roundtrip_modern, cache)
tests/test_rrule.py:5037
Function
test_rruleset_roundtrip
(options, protocol, cache_state, operation)
tests/property/test_rrule_prop.py:88
Function
test_samoa_transition
(tz_source)
tests/test_tz.py:2183
Method
test_second_sanity
(self, fuzzy)
tests/test_parser.py:769
Method
test_somewhat_ambiguous_string
(self)
tests/test_parser.py:777
Function
test_stream_position_after_leap_seconds
Reading a TZif file leaves the stream at the end of the file.
tests/test_tzfile.py:1683
Method
test_strftime_formats_2003Sep25
(self, fmt, dstr)
tests/test_parser.py:281
Function
test_sub_minute_offset
Sub-minute offsets retain their exact value.
tests/test_tzfile.py:2541
Function
test_sub_minute_offset_pickle
Pickling preserves sub-minute offsets.
tests/test_tzfile.py:2572
Function
test_sub_minute_offset_round_trip
Converting to and from UTC near a sub-minute transition round trips.
tests/test_tzfile.py:2552
Function
test_sub_minute_offset_tz_str
Sub-minute offsets in the TZ string are kept exact, like those in the file.
tests/test_tzfile.py:2268
Function
test_time_fixed_offset
()
tests/test_tzfile.py:723
Function
test_time_varying_offset
()
tests/test_tzfile.py:731
Function
test_timespec_auto
(dt, sep)
tests/property/test_isoparse_prop.py:35
Function
test_transition_lookahead_out_of_bounds
Inferring DST offsets must not look past the last transition.
tests/test_tzfile.py:2034
Function
test_truncated_file
A file cut off anywhere is either still valid or raises ValueError.
tests/test_tzfile.py:1867
Function
test_truncated_file_on_tzpath
gettz skips a truncated file on TZPATH like any other invalid file.
tests/test_tzfile.py:1888
Function
test_truncated_footer
A file cut off inside the TZ string footer must not hang.
tests/test_tzfile.py:1516
Function
test_tz_tzpath_tracks_reset
dateutil.tz.TZPATH reflects reset_tzpath on every Python version.
tests/test_tzfile.py:2513
Function
test_tzdata_bad_keys
Keys that do not name a zone in tzdata return None, not an error.
tests/test_tzfile.py:2412
Function
test_tzfile_from_pipe
A zone can be read from a stream that cannot seek.
tests/test_tzfile.py:1538
Function
test_tzfile_from_read_only_object
A zone can be read from an object that only has a read() method.
tests/test_tzfile.py:1555
Function
test_tzfile_repr
When the key is specified with a file object, it should be used in the repr.
tests/test_tzfile.py:2280
Function
test_tzfile_sub_minute_offset
()
tests/test_tz.py:2176
Function
test_tzical_offset_non_digit
(offset)
tests/test_tz.py:2080
Method
test_tzinfo_dict_could_return_none
(self)
tests/test_parser.py:355
Method
test_tzinfos_callable_could_return_none
(self)
tests/test_parser.py:361
Method
test_tzlocal_in_gmt
(self)
tests/test_parser.py:904
Function
test_tzlocal_local_time_trim_colon
()
tests/test_tz.py:995
Function
test_tzlocal_offset_equal
(tzvar, tzoff)
tests/test_tz.py:1007
Function
test_tzlocal_offset_unequal
(tzvar, tzoff)
tests/test_tz.py:1022
Method
test_tzlocal_parse_fold
(self)
tests/test_parser.py:914
Function
test_tzlocal_utc_equal
(tzvar)
tests/test_tz.py:980
Function
test_tzlocal_utc_unequal
(tzvar)
tests/test_tz.py:989
Function
test_tzoffset_is
(args, kwargs)
tests/test_tz.py:850
Function
test_tzoffset_is_not
()
tests/test_tz.py:855
Function
test_tzoffset_singleton
(args)
tests/test_tz.py:785
Function
test_tzoffset_sub_minute
()
tests/test_tz.py:793
Function
test_tzoffset_weakref
()
tests/test_tz.py:759
Function
test_tzpath_setting
Ensure that setting tz.TZPATH changes where `tz.gettz` searches.
tests/test_tzfile.py:589
Function
test_tzstr_day_of_year_rules
The dates of "n" and "Jn" rules match POSIX (and glibc).
tests/test_tzfile.py:1856
Function
test_tzstr_default_cmp
(tzstr_1, tzstr_2)
tests/test_tz.py:1774
Function
test_tzstr_default_end
(tz_str)
tests/test_tz.py:1756
Function
test_tzstr_default_start
(tz_str)
tests/test_tz.py:1745
Function
test_tzstr_dst_all_year
Rules whose transitions meet at the new year don't create a gap.
tests/test_tzfile.py:1820
Function
test_tzstr_internal_timedeltas
()
tests/test_internals.py:77
Function
test_tzstr_near_min_and_max_year
The rules for years 0 and 10000 apply to the dates around them.
tests/test_tzfile.py:1788
Function
test_tzstr_weakref
()
tests/test_tz.py:1605
Function
test_unambiguous
Test times that are *not* ambiguous.
tests/test_tzfile.py:646
Method
test_unambiguous_YYYYMM
(self)
tests/test_parser.py:874
← previous
next →
1,501–1,600 of 1,660, ranked by callers