Home
last modified time | relevance | path

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

/external/curl/lib/
Dparsedate.c98 static int parsedate(const char *date, time_t *output);
357 static int parsedate(const char *date, time_t *output) in parsedate() function
574 static int parsedate(const char *date, time_t *output) in parsedate() function
585 int rc = parsedate(p, &parsed); in curl_getdate()
605 int rc = parsedate(p, &parsed); in Curl_getdate_capped()
DMakefile.inc188 parsedate.c \
316 parsedate.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/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`;
/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/Lib/email/
Dutils.py37 from email._parseaddr import parsedate, parsedate_tz, _parsedate_tz
D_parseaddr.py178 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.cpp2062 UDate parsedate = fmt.parse(ctou(string), ec); in expect() local
2066 univ.format(parsedate, str2.remove())); in expect()
2076 UDate parsedate = fmt.parse(ctou(string), ec); in expect() local
2080 univ.format(parsedate, str2.remove())); in expect()
2098 UDate parsedate = fmt.parse(string, ec); in expect() local
2102 univ.format(parsedate, str2.remove())); in expect()
4042 UDate parsedate = sdf.parse(expected,status); in TestFormalChineseDate() local
4043 if ( parsedate != thedate ) { in TestFormalChineseDate()
4047 usf.format(parsedate,parsedres,pos); in TestFormalChineseDate()
/external/cronet/third_party/icu/source/test/intltest/
Ddtfmttst.cpp2062 UDate parsedate = fmt.parse(ctou(string), ec); in expect() local
2066 univ.format(parsedate, str2.remove())); in expect()
2076 UDate parsedate = fmt.parse(ctou(string), ec); in expect() local
2080 univ.format(parsedate, str2.remove())); in expect()
2098 UDate parsedate = fmt.parse(string, ec); in expect() local
2102 univ.format(parsedate, str2.remove())); in expect()
4042 UDate parsedate = sdf.parse(expected,status); in TestFormalChineseDate() local
4043 if ( parsedate != thedate ) { in TestFormalChineseDate()
4047 usf.format(parsedate,parsedres,pos); in TestFormalChineseDate()
/external/python/cpython3/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')
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3438 Date parsedate = fmt.parse(string); in expect() local
3441 univ.format(parsedate)); in expect()
3465 Date parsedate = fmt.parse(string); in expect() local
3468 univ.format(parsedate)); in expect()
4135 Date parsedate = sdf.parse(expected, pp); in TestFormalChineseDate() local
4136 long time1 = parsedate.getTime(); in TestFormalChineseDate()
4139 errln("FAIL: parsed -> " + parsedate.toString() + " expected -> " + cal.toString()); in TestFormalChineseDate()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3441 Date parsedate = fmt.parse(string); in expect() local
3444 univ.format(parsedate)); in expect()
3468 Date parsedate = fmt.parse(string); in expect() local
3471 univ.format(parsedate)); in expect()
4138 Date parsedate = sdf.parse(expected, pp); in TestFormalChineseDate() local
4139 long time1 = parsedate.getTime(); in TestFormalChineseDate()
4142 errln("FAIL: parsed -> " + parsedate.toString() + " expected -> " + cal.toString()); in TestFormalChineseDate()
/external/tensorflow/third_party/
Dcurl.BUILD204 "lib/parsedate.c",
205 "lib/parsedate.h",
/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.dsp1057 SOURCE=..\..\..\..\lib\parsedate.c
1673 SOURCE=..\..\..\..\lib\parsedate.h
/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