Home
last modified time | relevance | path

Searched refs:parsedate_tz (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Lib/email/
Dutils.py38 from email._parseaddr import parsedate_tz as _parsedate_tz
207 def parsedate_tz(data): function
D_parseaddr.py45 def parsedate_tz(data): function
145 t = parsedate_tz(data)
/external/python/cpython2/Lib/
Drfc822.py382 return parsedate_tz(data)
855 def parsedate_tz(data): function
942 t = parsedate_tz(data)
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py2960 self.assertIsNone(utils.parsedate_tz(''))
2962 self.assertIsNone(utils.parsedate_tz('0'))
2964 self.assertIsNone(utils.parsedate_tz('A Complete Waste of Time'))
2967 self.assertIsNone(utils.parsedate_tz(None))
2976 eq(utils.parsedate_tz('25 Feb 2003 13:47:26 -0800'),
2981 eq(utils.parsedate_tz('5 Feb 2003 13:47:26 -0800'),
2985 self.assertEqual(utils.parsedate_tz('Wed, 3 Apr 2002 14:58:26+0800'),
2990 self.assertEqual(utils.parsedate_tz('Wed, 3 Apr 2002 14:58:26-0800'),
2996 eq(utils.parsedate_tz('5 Feb 2003 13.47.26 -0800'),
2998 eq(utils.parsedate_tz('5 Feb 2003 13.47 -0800'),
[all …]
/external/python/cpython3/Lib/email/
D_parseaddr.py45 def parsedate_tz(data): function
176 t = parsedate_tz(data)
Dutils.py37 from email._parseaddr import parsedate, parsedate_tz, _parsedate_tz
/external/python/cpython2/Doc/library/
Demail.util.rst67 .. function:: parsedate_tz(date)
79 Turn a 10-tuple as returned by :func:`parsedate_tz` into a UTC
Drfc822.rst106 .. function:: parsedate_tz(date)
121 Turn a 10-tuple as returned by :func:`parsedate_tz` into a UTC timestamp. If
/external/python/cpython3/Doc/library/
Demail.utils.rst114 .. function:: parsedate_tz(date)
140 Turn a 10-tuple as returned by :func:`parsedate_tz` into a UTC
/external/python/cpython2/Lib/email/test/
Dtest_email.py2267 eq(Utils.parsedate_tz('25 Feb 2003 13:47:26 -0800'),
2272 eq(Utils.parsedate_tz('5 Feb 2003 13:47:26 -0800'),
2281 timetup = Utils.parsedate_tz('5 Feb 2003 13:47:26 -0800')
2300 self.assertEqual(Utils.parsedate_tz('25 Feb 03 13:47:26 -0800'),
2301 Utils.parsedate_tz('25 Feb 2003 13:47:26 -0800'))
2302 self.assertEqual(Utils.parsedate_tz('25 Feb 71 13:47:26 -0800'),
2303 Utils.parsedate_tz('25 Feb 1971 13:47:26 -0800'))
Dtest_email_renamed.py2184 eq(utils.parsedate_tz('25 Feb 2003 13:47:26 -0800'),
2189 eq(utils.parsedate_tz('5 Feb 2003 13:47:26 -0800'),
2198 timetup = utils.parsedate_tz('5 Feb 2003 13:47:26 -0800')
/external/python/httplib2/python3/httplib2/
D__init__.py402 date = calendar.timegm(email.utils.parsedate_tz(response_headers["date"]))
411 expires = email.utils.parsedate_tz(response_headers["expires"])
/external/python/httplib2/python2/httplib2/
D__init__.py482 date = calendar.timegm(email.Utils.parsedate_tz(response_headers["date"]))
491 expires = email.Utils.parsedate_tz(response_headers["expires"])
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst4901 clarify the docs on the return values of parsedate() and parsedate_tz() in
/external/python/cpython3/Misc/
DHISTORY6525 `parsedate_tz()` functions did not return None anymore when the argument could
10981 - Issue #1155362: email.utils.parsedate_tz now handles a missing space before
18941 - The email module's parsedate_tz function now sets the daylight savings
31082 getdate_tz() method and a parsedate_tz() function; also a mktime_tz().
/external/python/cpython2/Misc/
DHISTORY1557 - The email module's parsedate_tz function now sets the daylight savings
13703 getdate_tz() method and a parsedate_tz() function; also a mktime_tz().