MCPcopy Create free account

hub / github.com/dateutil/dateutil / functions

Functions1,440 in github.com/dateutil/dateutil

↓ 229 callersMethod_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 callersFunctionparse
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 callersMethodgettz
(self, tzname)
tests/test_tz.py:1418
↓ 38 callersMethodappend
(self, val, label=None)
src/dateutil/parser/_parser.py:428
↓ 33 callersMethodutcoffset
(self, dt)
tests/test_tz.py:2444
↓ 31 callersMethodreplace
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 callersMethodtzname
(self, dt)
src/dateutil/tz/tz.py:81
↓ 27 callersMethodtzoffset
(self, name)
src/dateutil/parser/_parser.py:354
↓ 25 callersMethodget
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 callersMethodreplace
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 callersMethodrrule
Include the given :py:class:`rrule` instance in the recurrence set generation.
src/dateutil/rrule.py:1357
↓ 13 callersMethodsplit
(cls, s)
src/dateutil/parser/_parser.py:200
↓ 11 callersMethodassertPicklable
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 callersMethoddst
(self, dt)
tests/test_tz.py:2453
↓ 10 callersMethod_get_tzname
(self, tzname)
tests/test_tz.py:187
↓ 10 callersMethod_gettz_context
(self, tzname)
tests/test_tz.py:190
↓ 10 callersMethodgettz
(self, tzname)
tests/test_tz.py:184
↓ 9 callersMethodcount
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 callersMethodparse
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 callersMethod_testEST
(self, start, test_type, tzc=None)
tests/test_tz.py:1850
↓ 7 callersMethodread
(self, *args, **kwargs)
tests/test_parser.py:315
↓ 6 callersMethod_get_ambig_error_tzinfo
(self, dt_start, dt_end, dst_only=False)
tests/test_tz.py:2548
↓ 6 callersMethod_get_no_support_tzinfo
(self, dt_start, dt_end, dst_only=False)
tests/test_tz.py:2463
↓ 6 callersFunction_isoparse_date_and_time
(dt, date_fmt, time_fmt, tzoffset, microsecond_precision=None)
tests/test_isoparser.py:72
↓ 6 callersMethod_testMultizone
(self, start, test_type)
tests/test_tz.py:1900
↓ 6 callersMethod_test_ambiguous_time
(self, dt, tzid, ambiguous)
tests/test_tz.py:352
↓ 6 callersMethod_test_imaginary_time
(self, dt, tzid, exists)
tests/test_tz.py:388
↓ 6 callersMethodassert_equal_same_tz
(self, dt1, dt2)
tests/test_parser.py:353
↓ 6 callersFunctionenfold
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 callersMethodget_args
(self, tzname)
tests/test_tz.py:438
↓ 6 callersMethodget_utc_transitions
(self, tzi, year, gap)
tests/test_tz.py:451
↓ 6 callersMethodnormalized
Return a version of this object represented entirely using integer values for the relative attributes. >>> relativedelta(day
src/dateutil/relativedelta.py:282
↓ 5 callersMethod_fold
(self, dt)
src/dateutil/tz/_common.py:204
↓ 5 callersMethodbetween
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 callersMethodexdate
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 callersMethodexrule
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 callersMethodgettz
(self, name)
tests/test_tz.py:1197
↓ 5 callersMethodinstance
Alternate constructor that returns a fresh instance
src/dateutil/tz/_factories.py:20
↓ 5 callersMethodrdate
Include the given :py:class:`datetime` instance in the recurrence set generation.
src/dateutil/rrule.py:1363
↓ 5 callersMethodweekday
(self, name)
src/dateutil/parser/_parser.py:322
↓ 4 callersMethod_gettz_str
(self, tzname)
tests/test_tz.py:1791
↓ 4 callersMethod_isdst
(self, dt, fold_naive=True)
src/dateutil/tz/tz.py:262
↓ 4 callersMethod_tzstr_dtstart_with_params
(self, tzname, param_str)
tests/test_tz.py:1794
↓ 4 callersMethodconvertyear
Converts two-digit years to year within [-50, 49] range of self._year (current local time)
src/dateutil/parser/_parser.py:360
↓ 4 callersFunctioneaster
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 callersMethodtransitions
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 callersMethodutcoffset
(self, dt)
src/dateutil/tz/_common.py:292
↓ 3 callersMethod__init__
(self, s, posix_offset=False)
src/dateutil/tz/tz.py:1079
↓ 3 callersFunction_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 callersMethod_find_comp
(self, dt)
src/dateutil/tz/tz.py:1177
↓ 3 callersMethod_find_last_transition
(self, dt, in_utc=False)
src/dateutil/tz/tz.py:712
↓ 3 callersMethod_find_ttinfo
(self, dt)
src/dateutil/tz/tz.py:738
↓ 3 callersMethod_get_ttinfo
(self, idx)
src/dateutil/tz/tz.py:727
↓ 3 callersMethod_isdst
(self, dt)
src/dateutil/tz/_common.py:374
↓ 3 callersMethod_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 callersMethodbefore
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 callersMethodcache_clear
(self)
src/dateutil/tz/tz.py:1585
↓ 3 callersFunctiongetzoneinfofile_stream
()
src/dateutil/zoneinfo/__init__.py:22
↓ 3 callersMethodhms
(self, name)
src/dateutil/parser/_parser.py:336
↓ 3 callersMethodparse_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 callersMethodparse_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 callersMethod__init__
(self, freq, dtstart=None, interval=1, wkst=None, count=None, until=None, bysetpos=None,
src/dateutil/rrule.py:428
↓ 2 callersMethod__radd__
(self, other)
src/dateutil/relativedelta.py:404
↓ 2 callersMethod_adjust_ampm
(self, hour, ampm)
src/dateutil/parser/_parser.py:1092
↓ 2 callersMethod_get_hasdst
(self)
src/dateutil/tz/win.py:194
↓ 2 callersMethod_get_no_support_tzinfo_class
(self, dt_start, dt_end, dst_only=False)
tests/test_tz.py:2439
↓ 2 callersFunction_get_supported_offset
(second_offset)
src/dateutil/tz/tz.py:1818
↓ 2 callersMethod_gettz_str_tuple
(self, tzname)
tests/test_tz.py:1702
↓ 2 callersMethod_invalidate_cache
(self)
src/dateutil/rrule.py:113
↓ 2 callersMethod_iter
(self)
src/dateutil/rrule.py:776
↓ 2 callersMethod_naive_is_dst
(self, dt)
src/dateutil/tz/tz.py:258
↓ 2 callersMethod_naive_isdst
(self, dt, transitions)
src/dateutil/tz/_common.py:395
↓ 2 callersMethod_parse_isodate
(self, dt_str)
src/dateutil/parser/isoparser.py:206
↓ 2 callersMethod_parse_isotime
(self, timestr)
src/dateutil/parser/isoparser.py:330
↓ 2 callersMethod_parse_min_sec
(self, value)
src/dateutil/parser/_parser.py:1099
↓ 2 callersMethod_parse_tzstr
(self, tzstr, zero_as_utc=True)
src/dateutil/parser/isoparser.py:383
↓ 2 callersMethod_parsems
Parse a I[.F] seconds value into (seconds, microseconds).
src/dateutil/parser/_parser.py:1133
↓ 2 callersFunction_parsetz
(tzstr)
src/dateutil/parser/_parser.py:1585
↓ 2 callersMethod_repr
(self, classname)
src/dateutil/parser/_parser.py:225
↓ 2 callersFunction_sign
(x)
src/dateutil/relativedelta.py:596
↓ 2 callersMethod_testDST
(self, tzval, dst_dst)
tests/test_tz.py:921
↓ 2 callersMethod_testOffset
(self, tzval, std_off, dst_off)
tests/test_tz.py:910
↓ 2 callersMethod_testTzName
(self, tzval, std_name, dst_name)
tests/test_tz.py:897
↓ 2 callersMethod_test_us_zone
(self, tzc, func, values, start)
tests/test_tz.py:1823
↓ 2 callersMethod_to_decimal
(self, val)
src/dateutil/parser/_parser.py:1141
↓ 2 callersMethodafter
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 callersMethodampm
(self, name)
src/dateutil/parser/_parser.py:342
↓ 2 callersMethodcould_be_day
(self, value)
src/dateutil/parser/_parser.py:414
↓ 2 callersMethoddst
(self, dt)
src/dateutil/tz/_common.py:302
↓ 2 callersFunctionfunc
(self, str_in, *args, **kwargs)
src/dateutil/parser/isoparser.py:24
↓ 2 callersFunctionget_timezone_tuple
Retrieve a (tzname, utcoffset, dst) tuple for a given DST
tests/test_tz.py:164
↓ 2 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:779
↓ 2 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:352
↓ 2 callersMethodisoparse
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 callersMethodjump
(self, name)
src/dateutil/parser/_parser.py:319
↓ 2 callersMethodkeys
Retrieves the available time zones as a list.
src/dateutil/tz/tz.py:1281
↓ 2 callersMethodload_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 callersMethodmonth
(self, name)
src/dateutil/parser/_parser.py:329
↓ 2 callersMethodname_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 callersMethodparse_tzstr
(tzstr)
tests/test_rrule.py:2704
next →1–100 of 1,440, ranked by callers