Home
last modified time | relevance | path

Searched refs:_strptime_time (Results 1 – 2 of 2) 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/cpython2/Lib/
D_strptime.py477 def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"): function