Home
last modified time | relevance | path

Searched refs:_strptime_time (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_strptime.py209 self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",
213 _strptime._strptime_time("2005", bad_format)
224 self.assertRaises(ValueError, _strptime._strptime_time, "10 12", "%m")
229 strp_output = _strptime._strptime_time(strf_output, "%" + directive)
242 strp_output = _strptime._strptime_time(bound, '%y')
261 strp_output = _strptime._strptime_time(strf_output, "%I %p")
295 strp_output = _strptime._strptime_time("UTC", "%Z")
297 strp_output = _strptime._strptime_time("GMT", "%Z")
301 strp_output = _strptime._strptime_time(strf_output, "%Z")
324 tz_value = _strptime._strptime_time(tz_name, "%Z")[8]
[all …]
/external/python/cpython3/Lib/test/
Dtest_strptime.py209 self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",
213 _strptime._strptime_time("2005", bad_format)
245 _strptime._strptime_time('', '%D')
249 _strptime._strptime_time('19', '%Y %')
254 self.assertRaises(ValueError, _strptime._strptime_time, "10 12", "%m")
259 strp_output = _strptime._strptime_time(strf_output, "%" + directive)
272 strp_output = _strptime._strptime_time(bound, '%y')
291 strp_output = _strptime._strptime_time(strf_output, "%I %p")
373 strp_output = _strptime._strptime_time("UTC", "%Z")
375 strp_output = _strptime._strptime_time("GMT", "%Z")
[all …]
/external/python/cpython2/Lib/
D_strptime.py477 def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"): function
/external/python/cpython3/Lib/
D_strptime.py568 def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"): function
/external/python/cpython3/Modules/
Dtimemodule.c866 _Py_IDENTIFIER(_strptime_time); in time_strptime()