Home
last modified time | relevance | path

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

/external/curl/lib/
Dparsedate.c96 static int parsedate(const char *date, time_t *output);
306 static int parsedate(const char *date, time_t *output) in parsedate() function
531 static int parsedate(const char *date, time_t *output) in parsedate() function
542 int rc = parsedate(p, &parsed); in curl_getdate()
562 int rc = parsedate(p, &parsed); in Curl_getdate_capped()
DMakefile.inc58 multi.c netrc.c non-ascii.c nonblock.c openldap.c parsedate.c pingpong.c \
78 parsedate.h pingpong.h pop3.h progress.h psl.h doh.h quic.h rand.h rename.h \
/external/python/cpython2/Doc/library/
Demail.util.rst56 .. function:: parsedate(date)
59 mailers don't follow that format as specified, so :func:`parsedate` tries to
62 the date, :func:`parsedate` returns a 9-tuple that can be passed directly to
69 Performs the same function as :func:`parsedate`, but returns either ``None`` or
Drfc822.rst95 .. function:: parsedate(date)
98 mailers don't follow that format as specified, so :func:`parsedate` tries to
101 the date, :func:`parsedate` returns a 9-tuple that can be passed directly to
108 Performs the same function as :func:`parsedate`, but returns either ``None`` or
/external/python/cpython2/Lib/email/
Dutils.py37 from email._parseaddr import parsedate as _parsedate
201 def parsedate(data): function
D_parseaddr.py143 def parsedate(data): function
/external/python/cpython3/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`. If
/external/python/cpython3/Lib/email/
Dutils.py37 from email._parseaddr import parsedate, parsedate_tz, _parsedate_tz
D_parseaddr.py174 def parsedate(data): function
/external/python/cpython2/Lib/
Drfc822.py370 return parsedate(data)
940 def parsedate(data): function
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py2156 self.assertEqual(utils.parsedate(utils.formatdate(now))[:6],
2162 utils.parsedate(utils.formatdate(now, localtime=True))[:6],
2175 self.assertEqual(utils.parsedate(''), None)
2179 self.assertEqual(utils.parsedate('Wed,3 Apr 2002 14:58:26 +0800'),
2180 utils.parsedate('Wed, 3 Apr 2002 14:58:26 +0800'))
2194 timetup = utils.parsedate('5 Feb 2003 13:47:26 -0800')
Dtest_email.py2239 self.assertEqual(Utils.parsedate(Utils.formatdate(now))[:6],
2245 Utils.parsedate(Utils.formatdate(now, localtime=True))[:6],
2258 self.assertEqual(Utils.parsedate(''), None)
2262 self.assertEqual(Utils.parsedate('Wed,3 Apr 2002 14:58:26 +0800'),
2263 Utils.parsedate('Wed, 3 Apr 2002 14:58:26 +0800'))
2277 timetup = Utils.parsedate('5 Feb 2003 13:47:26 -0800')
/external/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()
/external/tensorflow/third_party/
Dcurl.BUILD156 "lib/parsedate.c",
157 "lib/parsedate.h",
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py2983 self.assertEqual(utils.parsedate(utils.formatdate(now))[:6],
2989 utils.parsedate(utils.formatdate(now, localtime=True))[:6],
3003 self.assertIsNone(utils.parsedate(''))
3005 self.assertIsNone(utils.parsedate('0'))
3007 self.assertIsNone(utils.parsedate('A Complete Waste of Time'))
3010 self.assertIsNone(utils.parsedate(None))
3015 self.assertEqual(utils.parsedate('Wed,3 Apr 2002 14:58:26 +0800'),
3016 utils.parsedate('Wed, 3 Apr 2002 14:58:26 +0800'))
3047 timetup = utils.parsedate('5 Feb 2003 13:47:26 -0800')
/external/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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3428 Date parsedate = fmt.parse(string); in expect() local
3431 univ.format(parsedate)); in expect()
3455 Date parsedate = fmt.parse(string); in expect() local
3458 univ.format(parsedate)); in expect()
4125 Date parsedate = sdf.parse(expected, pp); in TestFormalChineseDate() local
4126 long time1 = parsedate.getTime(); in TestFormalChineseDate()
4129 errln("FAIL: parsed -> " + parsedate.toString() + " expected -> " + cal.toString()); in TestFormalChineseDate()
/external/curl/
DRELEASE-NOTES111 o parsedate: tune the date to epoch conversion [95]
DCHANGES504 - parsedate: tune the date to epoch conversion
/external/curl/tests/
DFILEFORMAT.md358 - `parsedate`
/external/python/cpython2/Misc/NEWS.d/
D2.7.1rc1.rst675 email.utils.parsedate now returns RFC2822 compliant four character years
D2.6a1.rst4901 clarify the docs on the return values of parsedate() and parsedate_tz() in
/external/curl/projects/Windows/VC6/lib/
Dlibcurl.dsp1041 SOURCE=..\..\..\..\lib\parsedate.c
1633 SOURCE=..\..\..\..\lib\parsedate.h
/external/curl/docs/
DINTERNALS.md372 `curl_getdate()` in `lib/parsedate.c` is for HTTP date comparisons (and
/external/python/cpython3/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