Searched refs:parsedate_tz (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython2/Lib/email/ |
D | utils.py | 38 from email._parseaddr import parsedate_tz as _parsedate_tz 207 def parsedate_tz(data): function
|
D | _parseaddr.py | 45 def parsedate_tz(data): function 145 t = parsedate_tz(data)
|
/external/python/cpython2/Lib/ |
D | rfc822.py | 382 return parsedate_tz(data) 855 def parsedate_tz(data): function 942 t = parsedate_tz(data)
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 2960 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.py | 45 def parsedate_tz(data): function 176 t = parsedate_tz(data)
|
D | utils.py | 37 from email._parseaddr import parsedate, parsedate_tz, _parsedate_tz
|
/external/python/cpython2/Doc/library/ |
D | email.util.rst | 67 .. function:: parsedate_tz(date) 79 Turn a 10-tuple as returned by :func:`parsedate_tz` into a UTC
|
D | rfc822.rst | 106 .. 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/ |
D | email.utils.rst | 114 .. function:: parsedate_tz(date) 140 Turn a 10-tuple as returned by :func:`parsedate_tz` into a UTC
|
/external/python/cpython2/Lib/email/test/ |
D | test_email.py | 2267 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'))
|
D | test_email_renamed.py | 2184 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__.py | 402 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__.py | 482 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/ |
D | 2.6a1.rst | 4901 clarify the docs on the return values of parsedate() and parsedate_tz() in
|
/external/python/cpython3/Misc/ |
D | HISTORY | 6525 `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/ |
D | HISTORY | 1557 - 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().
|