Home
last modified time | relevance | path

Searched refs:parsedate (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Doc/library/
Demail.utils.rst103 .. function:: parsedate(date)
106 mailers don't follow that format as specified, so :func:`parsedate` tries to
109 the date, :func:`parsedate` returns a 9-tuple that can be passed directly to
116 Performs the same function as :func:`parsedate`, but returns either ``None`` or
127 :func:`parsedate`, but on success returns a :mod:`~datetime.datetime`;
/third_party/curl/
Dbackport-CVE-2022-32207.patch42 #include "parsedate.h"
230 #include "parsedate.h"
288 #include "parsedate.h"
Dbackport-0001-CVE-2023-23914-CVE-2023-23915.patch52 #include "parsedate.h"
DBUILD.gn110 "$CURL_SOURCE_ROOT/lib/parsedate.c",
/third_party/python/Lib/email/
Dutils.py37 from email._parseaddr import parsedate, parsedate_tz, _parsedate_tz
D_parseaddr.py178 def parsedate(data): function
/third_party/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp2048 UDate parsedate = fmt.parse(ctou(string), ec); in expect() local
2052 univ.format(parsedate, str2.remove())); in expect()
2062 UDate parsedate = fmt.parse(ctou(string), ec); in expect() local
2066 univ.format(parsedate, str2.remove())); in expect()
2084 UDate parsedate = fmt.parse(string, ec); in expect() local
2088 univ.format(parsedate, str2.remove())); in expect()
4028 UDate parsedate = sdf.parse(expected,status); in TestFormalChineseDate() local
4029 if ( parsedate != thedate ) { in TestFormalChineseDate()
4033 usf.format(parsedate,parsedres,pos); in TestFormalChineseDate()
/third_party/python/Lib/test/test_email/
Dtest_email.py2998 self.assertEqual(utils.parsedate(utils.formatdate(now))[:6],
3004 utils.parsedate(utils.formatdate(now, localtime=True))[:6],
3018 self.assertIsNone(utils.parsedate(''))
3020 self.assertIsNone(utils.parsedate(' '))
3022 self.assertIsNone(utils.parsedate('0'))
3024 self.assertIsNone(utils.parsedate('A Complete Waste of Time'))
3028 self.assertIsNone(utils.parsedate(None))
3033 self.assertEqual(utils.parsedate('Wed,3 Apr 2002 14:58:26 +0800'),
3034 utils.parsedate('Wed, 3 Apr 2002 14:58:26 +0800'))
3065 timetup = utils.parsedate('5 Feb 2003 13:47:26 -0800')
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatTest.java3341 Date parsedate = fmt.parse(string); in expect() local
3344 univ.format(parsedate)); in expect()
3368 Date parsedate = fmt.parse(string); in expect() local
3371 univ.format(parsedate)); in expect()
4038 Date parsedate = sdf.parse(expected, pp); in TestFormalChineseDate() local
4039 long time1 = parsedate.getTime(); in TestFormalChineseDate()
4042 errln("FAIL: parsed -> " + parsedate.toString() + " expected -> " + cal.toString()); in TestFormalChineseDate()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3425 Date parsedate = fmt.parse(string); in expect() local
3428 univ.format(parsedate)); in expect()
3452 Date parsedate = fmt.parse(string); in expect() local
3455 univ.format(parsedate)); in expect()
4122 Date parsedate = sdf.parse(expected, pp); in TestFormalChineseDate() local
4123 long time1 = parsedate.getTime(); in TestFormalChineseDate()
4126 errln("FAIL: parsed -> " + parsedate.toString() + " expected -> " + cal.toString()); in TestFormalChineseDate()
/third_party/python/Misc/
DHISTORY6524 - Issue #15925: Fix a regression in `email.util` where the `parsedate()` and
12453 - Issue #1194222: email.utils.parsedate now returns RFC2822 compliant four