Home
last modified time | relevance | path

Searched refs:date_str (Results 1 – 8 of 8) sorted by relevance

/external/toolchain-utils/
Dnew-generate-waterfall-reports.py75 date_str = '%d-%02d-%02d' % (year, month, day)
78 date_str = '%d-%s-%d' % (year, month_str, day)
79 return date_str
175 date_str = format_date(date, use_int_month=True)
176 fname = '%s.builds' % date_str
207 date_str = format_date(date, use_int_month=True)
234 date_str = format_date(date, use_int_month=True)
238 (builder, date_str))
Dgenerate-waterfall-reports.py78 date_str = '%d-%s-%d' % (year, month_str, day)
79 return date_str
/external/python/cpython3/Lib/
Dnntplib.py232 def _parse_datetime(date_str, time_str=None): argument
238 time_str = date_str[-6:]
239 date_str = date_str[:-6]
243 year = int(date_str[:-4])
244 month = int(date_str[-4:-2])
245 day = int(date_str[-2:])
274 date_str = "{0:02d}{1.month:02d}{1.day:02d}".format(y, dt)
276 date_str = "{0:04d}{1.month:02d}{1.day:02d}".format(y, dt)
277 return date_str, time_str
575 date_str, time_str = _unparse_datetime(date, self.nntp_version < 2)
[all …]
/external/python/cpython3/Lib/test/
Dtest_nntplib.py575 def handle_NEWNEWS(self, group, date_str, time_str): argument
578 if (group == "comp.lang.python" and date_str == "20100913"
586 elif (group == "comp.lang.python" and date_str == "100913"
595 date_str in ('20100101', '100101') and
1378 def gives(y, M, d, h, m, s, date_str, time_str): argument
1381 (date_str, time_str))
1383 (date_str, time_str))
1388 def gives(y, M, d, date_str, time_str): argument
1391 (date_str, time_str))
1393 (date_str, time_str))
[all …]
/external/autotest/tko/
Dutils_unittest.py40 date_str = utils.get_timestamp({"key": str_t}, "key")
41 self.assertEquals(date_int, date_str)
/external/grpc-grpc/tools/failures/
Ddetect_new_failures.py162 def parse_isodate(date_str): argument
163 return datetime.datetime.strptime(date_str, "%Y-%m-%d").date()
/external/python/cpython2/Modules/
Ddatetimemodule.c2513 date_str(PyDateTime_Date *self) in date_str() function
2807 (reprfunc)date_str, /* tp_str */
/external/python/cpython3/Modules/
D_datetimemodule.c3065 date_str(PyDateTime_Date *self) in date_str() function
3343 (reprfunc)date_str, /* tp_str */