Home
last modified time | relevance | path

Searched refs:parse_date (Results 1 – 8 of 8) sorted by relevance

/external/chromium-trace/catapult/third_party/Paste/tests/test_util/
Dtest_datetimeutil.py49 assert(date(yr,4,11) == parse_date("411"))
50 assert(date(yr,4,11) == parse_date("APR11"))
51 assert(date(yr,4,11) == parse_date("11APR"))
52 assert(date(yr,4,11) == parse_date("4 11"))
53 assert(date(yr,4,11) == parse_date("11 APR"))
54 assert(date(yr,4,11) == parse_date("APR 11"))
55 assert(date(yr,mo,11) == parse_date("11"))
56 assert(date(yr,4,1) == parse_date("APR"))
57 assert(date(yr,4,11) == parse_date("4/11"))
58 assert(date.today() == parse_date("today"))
[all …]
/external/chromium-trace/catapult/third_party/WebOb/webob/
Ddatetime_utils.py64 def parse_date(value): function
107 return parse_date(value)
Detag.py8 parse_date,
143 return IfRangeDate(parse_date(value))
Ddescriptors.py19 parse_date,
192 return converter(prop, parse_date, serialize_date, 'HTTP date')
/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/
Di18n.rst32 format_currency, format_percent, format_scientific, parse_date,
54 .. autofunction:: parse_date
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Di18n.py581 def parse_date(self, string): member in I18n
598 return dates.parse_date(string, locale=self.locale)
778 def parse_date(string): function
780 return get_i18n().parse_date(string)
/external/chromium-trace/catapult/third_party/Paste/paste/util/
Ddatetimeutil.py196 def parse_date(val): function
356 val = parse_date(val)
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_i18n_test.py179 self.assertEqual(i18n.parse_date('4/1/04'), datetime.date(2004, 4, 1))
181 self.assertEqual(i18n.parse_date('01.04.2004'), datetime.date(2004, 4, 1))