• Home
  • Raw
  • Download

Lines Matching refs:_strptime_time

211         self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",
215 _strptime._strptime_time("2005", bad_format)
247 _strptime._strptime_time('', '%D')
251 _strptime._strptime_time('19', '%Y %')
256 self.assertRaises(ValueError, _strptime._strptime_time, "10 12", "%m")
261 strp_output = _strptime._strptime_time(strf_output, "%" + directive)
274 strp_output = _strptime._strptime_time(bound, '%y')
293 strp_output = _strptime._strptime_time(strf_output, "%I %p")
376 strp_output = _strptime._strptime_time("UTC", "%Z")
378 strp_output = _strptime._strptime_time("GMT", "%Z")
382 strp_output = _strptime._strptime_time(strf_output, "%Z")
405 tz_value = _strptime._strptime_time(tz_name, "%Z")[8]
429 strp_output = _strptime._strptime_time(strf_output, "%m %% %Y")
437 self.assertTrue(_strptime._strptime_time(strf_output.upper(), "%B"),
439 self.assertTrue(_strptime._strptime_time(strf_output.lower(), "%B"),
441 self.assertTrue(_strptime._strptime_time(strf_output.capitalize(), "%B"),
447 strp_output = _strptime._strptime_time('1', '%m')
459 self.assertTrue(_strptime._strptime_time(need_escaping, need_escaping))
476 eq(_strptime._strptime_time('12 PM', '%I %p')[3], 12)
477 eq(_strptime._strptime_time('12 AM', '%I %p')[3], 0)
487 eq(_strptime._strptime_time('%d 2004' % i, '%j %Y')[7], i)
499 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple),
509 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple),
524 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple),
557 strp_output = _strptime._strptime_time(strp_input,
591 self.assertEqual(_strptime._strptime_time(value, format)[:-1], expected)
643 _strptime._strptime_time("10", "%d")
644 _strptime._strptime_time("2005", "%Y")
647 _strptime._strptime_time("10", "%d")
661 _strptime._strptime_time("10", "%d")
669 _strptime._strptime_time("10", "%d")
680 _strptime._strptime_time('10', '%d')
686 _strptime._strptime_time('10', '%d')
705 tm = _strptime._strptime_time(time.tzname[0], '%Z')
707 tm = _strptime._strptime_time(time.tzname[1], '%Z')
714 tm = _strptime._strptime_time(time.tzname[0], '%Z')
716 tm = _strptime._strptime_time(time.tzname[1], '%Z')
724 _strptime._strptime_time(oldtzname[0], '%Z')
726 _strptime._strptime_time(oldtzname[1], '%Z')