Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dateutil/dateutil
/ functions
Functions
1,440 in github.com/dateutil/dateutil
⨍
Functions
1,440
◇
Types & classes
102
↳
Endpoints
12
↓ 229 callers
Method
_rrulestr_reverse_test
Call with an `rrule` and it will test that `str(rrule)` generates a string which generates the same `rrule` as the input when passed
tests/test_rrule.py:23
↓ 89 callers
Function
parse
Parse a string in one of the supported formats, using the ``parserinfo`` parameters. :param timestr: A string containing a date
src/dateutil/parser/_parser.py:1270
↓ 48 callers
Method
gettz
(self, tzname)
tests/test_tz.py:1418
↓ 38 callers
Method
append
(self, val, label=None)
src/dateutil/parser/_parser.py:428
↓ 33 callers
Method
utcoffset
(self, dt)
tests/test_tz.py:2444
↓ 31 callers
Method
replace
Return new rrule with same attributes except for those attributes given new values by whichever keyword arguments are specified.
src/dateutil/rrule.py:762
↓ 28 callers
Method
tzname
(self, dt)
src/dateutil/tz/tz.py:81
↓ 27 callers
Method
tzoffset
(self, name)
src/dateutil/parser/_parser.py:354
↓ 25 callers
Method
get
Retrieve a :py:class:`datetime.tzinfo` object by its ``tzid``. :param tzid: If there is exactly one time zone available,
src/dateutil/tz/tz.py:1287
↓ 16 callers
Method
replace
Return a datetime with the same attributes, except for those attributes given new values by whichever keyword arguments are
src/dateutil/tz/_common.py:68
↓ 15 callers
Method
rrule
Include the given :py:class:`rrule` instance in the recurrence set generation.
src/dateutil/rrule.py:1357
↓ 13 callers
Method
split
(cls, s)
src/dateutil/parser/_parser.py:200
↓ 11 callers
Method
assertPicklable
Assert that an object can be pickled and unpickled. This assertion assumes that the desired behavior is that the unpickled object com
tests/_common.py:32
↓ 11 callers
Method
dst
(self, dt)
tests/test_tz.py:2453
↓ 10 callers
Method
_get_tzname
(self, tzname)
tests/test_tz.py:187
↓ 10 callers
Method
_gettz_context
(self, tzname)
tests/test_tz.py:190
↓ 10 callers
Method
gettz
(self, tzname)
tests/test_tz.py:184
↓ 9 callers
Method
count
Returns the number of recurrences in this set. It will have go through the whole recurrence, if this hasn't been done before.
src/dateutil/rrule.py:183
↓ 8 callers
Method
parse
Parse the date/time string into a :class:`datetime.datetime` object. :param timestr: Any date/time string using the supp
src/dateutil/parser/_parser.py:572
↓ 7 callers
Method
_testEST
(self, start, test_type, tzc=None)
tests/test_tz.py:1850
↓ 7 callers
Method
read
(self, *args, **kwargs)
tests/test_parser.py:315
↓ 6 callers
Method
_get_ambig_error_tzinfo
(self, dt_start, dt_end, dst_only=False)
tests/test_tz.py:2548
↓ 6 callers
Method
_get_no_support_tzinfo
(self, dt_start, dt_end, dst_only=False)
tests/test_tz.py:2463
↓ 6 callers
Function
_isoparse_date_and_time
(dt, date_fmt, time_fmt, tzoffset, microsecond_precision=None)
tests/test_isoparser.py:72
↓ 6 callers
Method
_testMultizone
(self, start, test_type)
tests/test_tz.py:1900
↓ 6 callers
Method
_test_ambiguous_time
(self, dt, tzid, ambiguous)
tests/test_tz.py:352
↓ 6 callers
Method
_test_imaginary_time
(self, dt, tzid, exists)
tests/test_tz.py:388
↓ 6 callers
Method
assert_equal_same_tz
(self, dt1, dt2)
tests/test_parser.py:353
↓ 6 callers
Function
enfold
Provides a unified interface for assigning the ``fold`` attribute to datetimes both before and after the implementation of PEP-495.
src/dateutil/tz/_common.py:37
↓ 6 callers
Method
get_args
(self, tzname)
tests/test_tz.py:438
↓ 6 callers
Method
get_utc_transitions
(self, tzi, year, gap)
tests/test_tz.py:451
↓ 6 callers
Method
normalized
Return a version of this object represented entirely using integer values for the relative attributes. >>> relativedelta(day
src/dateutil/relativedelta.py:282
↓ 5 callers
Method
_fold
(self, dt)
src/dateutil/tz/_common.py:204
↓ 5 callers
Method
between
Returns all the occurrences of the rrule between after and before. The inc keyword defines what happens if after and/or before are th
src/dateutil/rrule.py:271
↓ 5 callers
Method
exdate
Include the given datetime instance in the recurrence set exclusion list. Dates included that way will not be generated, even
src/dateutil/rrule.py:1377
↓ 5 callers
Method
exrule
Include the given rrule instance in the recurrence set exclusion list. Dates which are part of the given recurrence rules will not
src/dateutil/rrule.py:1369
↓ 5 callers
Method
gettz
(self, name)
tests/test_tz.py:1197
↓ 5 callers
Method
instance
Alternate constructor that returns a fresh instance
src/dateutil/tz/_factories.py:20
↓ 5 callers
Method
rdate
Include the given :py:class:`datetime` instance in the recurrence set generation.
src/dateutil/rrule.py:1363
↓ 5 callers
Method
weekday
(self, name)
src/dateutil/parser/_parser.py:322
↓ 4 callers
Method
_gettz_str
(self, tzname)
tests/test_tz.py:1791
↓ 4 callers
Method
_isdst
(self, dt, fold_naive=True)
src/dateutil/tz/tz.py:262
↓ 4 callers
Method
_tzstr_dtstart_with_params
(self, tzname, param_str)
tests/test_tz.py:1794
↓ 4 callers
Method
convertyear
Converts two-digit years to year within [-50, 49] range of self._year (current local time)
src/dateutil/parser/_parser.py:360
↓ 4 callers
Function
easter
This method was ported from the work done by GM Arts, on top of the algorithm by Claus Tondering, which was based in part on the algorith
src/dateutil/easter.py:16
↓ 4 callers
Method
transitions
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/tz.py:996
↓ 4 callers
Method
utcoffset
(self, dt)
src/dateutil/tz/_common.py:292
↓ 3 callers
Method
__init__
(self, s, posix_offset=False)
src/dateutil/tz/tz.py:1079
↓ 3 callers
Function
_datetime_to_timestamp
Convert a :class:`datetime.datetime` object to an epoch timestamp in seconds since January 1, 1970, ignoring the time zone.
src/dateutil/tz/tz.py:1809
↓ 3 callers
Method
_find_comp
(self, dt)
src/dateutil/tz/tz.py:1177
↓ 3 callers
Method
_find_last_transition
(self, dt, in_utc=False)
src/dateutil/tz/tz.py:712
↓ 3 callers
Method
_find_ttinfo
(self, dt)
src/dateutil/tz/tz.py:738
↓ 3 callers
Method
_get_ttinfo
(self, idx)
src/dateutil/tz/tz.py:727
↓ 3 callers
Method
_isdst
(self, dt)
src/dateutil/tz/_common.py:374
↓ 3 callers
Method
_testTzFunc
This generates tests about how the behavior of a function ``func`` changes between STD and DST (e.g. utcoffset, tzname, dst).
tests/test_tz.py:882
↓ 3 callers
Method
before
Returns the last recurrence before the given datetime instance. The inc keyword defines what happens if dt is an occurrence. With
src/dateutil/rrule.py:191
↓ 3 callers
Method
cache_clear
(self)
src/dateutil/tz/tz.py:1585
↓ 3 callers
Function
getzoneinfofile_stream
()
src/dateutil/zoneinfo/__init__.py:22
↓ 3 callers
Method
hms
(self, name)
src/dateutil/parser/_parser.py:336
↓ 3 callers
Method
parse_isodate
Parse the date portion of an ISO string. :param datestr: The string portion of an ISO string, without a separator
src/dateutil/parser/isoparser.py:149
↓ 3 callers
Method
parse_isotime
Parse the time portion of an ISO string. :param timestr: The time portion of an ISO string, without a separator
src/dateutil/parser/isoparser.py:166
↓ 2 callers
Method
__init__
(self, freq, dtstart=None, interval=1, wkst=None, count=None, until=None, bysetpos=None,
src/dateutil/rrule.py:428
↓ 2 callers
Method
__radd__
(self, other)
src/dateutil/relativedelta.py:404
↓ 2 callers
Method
_adjust_ampm
(self, hour, ampm)
src/dateutil/parser/_parser.py:1092
↓ 2 callers
Method
_get_hasdst
(self)
src/dateutil/tz/win.py:194
↓ 2 callers
Method
_get_no_support_tzinfo_class
(self, dt_start, dt_end, dst_only=False)
tests/test_tz.py:2439
↓ 2 callers
Function
_get_supported_offset
(second_offset)
src/dateutil/tz/tz.py:1818
↓ 2 callers
Method
_gettz_str_tuple
(self, tzname)
tests/test_tz.py:1702
↓ 2 callers
Method
_invalidate_cache
(self)
src/dateutil/rrule.py:113
↓ 2 callers
Method
_iter
(self)
src/dateutil/rrule.py:776
↓ 2 callers
Method
_naive_is_dst
(self, dt)
src/dateutil/tz/tz.py:258
↓ 2 callers
Method
_naive_isdst
(self, dt, transitions)
src/dateutil/tz/_common.py:395
↓ 2 callers
Method
_parse_isodate
(self, dt_str)
src/dateutil/parser/isoparser.py:206
↓ 2 callers
Method
_parse_isotime
(self, timestr)
src/dateutil/parser/isoparser.py:330
↓ 2 callers
Method
_parse_min_sec
(self, value)
src/dateutil/parser/_parser.py:1099
↓ 2 callers
Method
_parse_tzstr
(self, tzstr, zero_as_utc=True)
src/dateutil/parser/isoparser.py:383
↓ 2 callers
Method
_parsems
Parse a I[.F] seconds value into (seconds, microseconds).
src/dateutil/parser/_parser.py:1133
↓ 2 callers
Function
_parsetz
(tzstr)
src/dateutil/parser/_parser.py:1585
↓ 2 callers
Method
_repr
(self, classname)
src/dateutil/parser/_parser.py:225
↓ 2 callers
Function
_sign
(x)
src/dateutil/relativedelta.py:596
↓ 2 callers
Method
_testDST
(self, tzval, dst_dst)
tests/test_tz.py:921
↓ 2 callers
Method
_testOffset
(self, tzval, std_off, dst_off)
tests/test_tz.py:910
↓ 2 callers
Method
_testTzName
(self, tzval, std_name, dst_name)
tests/test_tz.py:897
↓ 2 callers
Method
_test_us_zone
(self, tzc, func, values, start)
tests/test_tz.py:1823
↓ 2 callers
Method
_to_decimal
(self, val)
src/dateutil/parser/_parser.py:1141
↓ 2 callers
Method
after
Returns the first recurrence after the given datetime instance. The inc keyword defines what happens if dt is an occurrence. With
src/dateutil/rrule.py:212
↓ 2 callers
Method
ampm
(self, name)
src/dateutil/parser/_parser.py:342
↓ 2 callers
Method
could_be_day
(self, value)
src/dateutil/parser/_parser.py:414
↓ 2 callers
Method
dst
(self, dt)
src/dateutil/tz/_common.py:302
↓ 2 callers
Function
func
(self, str_in, *args, **kwargs)
src/dateutil/parser/isoparser.py:24
↓ 2 callers
Function
get_timezone_tuple
Retrieve a (tzname, utcoffset, dst) tuple for a given DST
tests/test_tz.py:164
↓ 2 callers
Method
is_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:779
↓ 2 callers
Method
is_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:352
↓ 2 callers
Method
isoparse
Parse an ISO-8601 datetime string into a :class:`datetime.datetime`. An ISO-8601 datetime string consists of a date portion, followe
src/dateutil/parser/isoparser.py:60
↓ 2 callers
Method
jump
(self, name)
src/dateutil/parser/_parser.py:319
↓ 2 callers
Method
keys
Retrieves the available time zones as a list.
src/dateutil/tz/tz.py:1281
↓ 2 callers
Method
load_name
Load a timezone name from a DLL offset (integer). >>> from dateutil.tzwin import tzres >>> tzr = tzres() >>> print(t
src/dateutil/tz/win.py:71
↓ 2 callers
Method
month
(self, name)
src/dateutil/parser/_parser.py:329
↓ 2 callers
Method
name_from_string
Parse strings as returned from the Windows registry into the time zone name as defined in the registry. >>> from dateutil.tz
src/dateutil/tz/win.py:94
↓ 2 callers
Method
parse_tzstr
(tzstr)
tests/test_rrule.py:2704
next →
1–100 of 1,440, ranked by callers