Searched refs:parse_date (Results 1 – 8 of 8) sorted by relevance
/external/chromium-trace/catapult/third_party/Paste/tests/test_util/ |
D | test_datetimeutil.py | 49 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/ |
D | datetime_utils.py | 64 def parse_date(value): function 107 return parse_date(value)
|
D | etag.py | 8 parse_date, 143 return IfRangeDate(parse_date(value))
|
D | descriptors.py | 19 parse_date, 192 return converter(prop, parse_date, serialize_date, 'HTTP date')
|
/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/ |
D | i18n.rst | 32 format_currency, format_percent, format_scientific, parse_date, 54 .. autofunction:: parse_date
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
D | i18n.py | 581 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/ |
D | datetimeutil.py | 196 def parse_date(val): function 356 val = parse_date(val)
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | extras_i18n_test.py | 179 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))
|