Home
last modified time | relevance | path

Searched refs:time_str (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Lib/
H A Dnntplib.py235 def _parse_datetime(date_str, time_str=None):
240 if time_str is None:
241 time_str = date_str[-6:]
243 hours = int(time_str[:2])
244 minutes = int(time_str[2:4])
245 seconds = int(time_str[4:])
271 time_str = "000000"
273 time_str = "{0.hour:02d}{0.minute:02d}{0.second:02d}".format(dt)
280 return date_str, time_str
607 date_str, time_str
[all...]
/third_party/musl/tools/api_cmp_tool/
H A Dcompare.py298 time_str = time.strftime('%Y-%m-%d-%H:%M:%S', time.localtime(seconds))
299 out_difference_path = OUTPUT_RESULT_PATH + 'compare_result_' + time_str + '.json'
300 out_lib_path = OUTPUT_RESULT_PATH + 'lib_file_list_' + time_str + '.txt'
301 out_head_path = OUTPUT_RESULT_PATH + 'head_file_list_' + time_str + '.txt'
/third_party/python/Lib/test/
H A Dtest_nntplib.py637 def handle_NEWNEWS(self, group, date_str, time_str):
641 and time_str == "082004"):
649 and time_str == "082004"):
658 time_str == '090000'):
1440 def gives(y, M, d, h, m, s, date_str, time_str):
1443 (date_str, time_str))
1445 (date_str, time_str))
1450 def gives(y, M, d, date_str, time_str):
1453 (date_str, time_str))
1455 (date_str, time_str))
[all...]
H A Ddatetimetester.py4202 for time_str, time_comps in strs:
4204 actual = self.theclass.fromisoformat(time_str)
/third_party/python/Modules/
H A D_datetimemodule.c4361 time_str(PyDateTime_Time *self) in time_str() function
4791 (reprfunc)time_str, /* tp_str */

Completed in 26 milliseconds