/external/python/cpython2/Doc/includes/sqlite3/ |
H A D | adapter_datetime.py | 5 return time.mktime(ts.timetuple())
|
/external/python/cpython3/Doc/includes/sqlite3/ |
H A D | adapter_datetime.py | 6 return time.mktime(ts.timetuple())
|
/external/python/cpython3/Lib/email/ |
H A D | utils.py | 129 def _format_timetuple_and_zone(timetuple, zone): 131 ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'][timetuple[6]], 132 timetuple[2], 134 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'][timetuple[1] - 1], 135 timetuple[0], timetuple[3], timetuple[4], timetuple[5], 174 now = dt.timetuple() 363 # We have a naive datetime. Convert to a (localtime) timetuple an [all...] |
/external/autotest/client/common_lib/ |
H A D | time_utils.py | 98 return time.mktime(value.timetuple()) + 0.000001 * value.microsecond
|
/external/autotest/server/cros/dynamic_suite/ |
H A D | job_status.py | 306 begin_time_str, time_utils.TIME_FMT).timetuple())) 313 end_time_str, time_utils.TIME_FMT).timetuple()))
|
/external/autotest/tko/ |
H A D | job_serializer_unittest.py | 224 t = mktime(dTime.timetuple()) + 1e-6 * dTime.microsecond 369 t = mktime(dTime.timetuple()) + 1e-6 * dTime.microsecond 373 t1 = mktime(sTime.timetuple()) + 1e-6 * sTime.microsecond
|
H A D | job_serializer.py | 414 t = mktime(t.timetuple()) + 1e-6 * t.microsecond
|
/external/autotest/client/tools/ |
H A D | html_report.py | 1425 epoch_sec = time.mktime(t.timetuple())
|
/external/python/cpython3/Lib/xmlrpc/ |
H A D | client.py | 313 elif hasattr(other, "timetuple"): 314 s = self.timetuple() 315 o = other.timetuple() 344 def timetuple(self): member in class:DateTime
|
/external/python/cpython3/Lib/ |
H A D | datetime.py | 177 def _wrap_strftime(object, format, timetuple): 232 return _time.strftime(newformat, timetuple) 676 timetuple() 768 return _wrap_strftime(self, fmt, self.timetuple()) 809 def timetuple(self): member in class:date 1252 timetuple = (1900, 1, 1, 1255 return _wrap_strftime(self, fmt, timetuple) 1499 def timetuple(self): member in class:datetime
|
/external/python/cpython2/Lib/test/ |
H A D | test_datetime.py | 943 t = d.timetuple() 947 t = d.timetuple() 952 t = d.timetuple() 1042 # other object has a timetuple attr. This gives the other object a 1045 def timetuple(self): member in class:TestDate.test_mixed_compare.Comparable 1243 # self.assertEqual(t.ctime(), time.ctime(time.mktime(t.timetuple()))) 1247 self.assertEqual(t.ctime(), time.ctime(time.mktime(t.timetuple()))) 1561 self.assertEqual(t.timetuple(), (2004, 12, 31, 6, 22, 33, 4, 366, -1)) 1562 self.assertEqual(t.timetuple(), 1568 tt = t.timetuple() [all...] |
H A D | test_strptime.py | 459 strp_output[7], dt_date.timetuple()[7]))
|
H A D | test_xmlrpc.py | 79 dt = xmlrpclib.DateTime(now.timetuple())
|
/external/python/cpython2/Lib/ |
H A D | xmlrpclib.py | 399 elif hasattr(other, "timetuple"): 400 s = self.timetuple() 401 o = other.timetuple() 434 def timetuple(self): member in class:DateTime
|
/external/python/cpython3/Lib/test/ |
H A D | datetimetester.py | 1304 t = d.timetuple() 1308 t = d.timetuple() 1313 t = d.timetuple() 1648 # self.assertEqual(t.ctime(), time.ctime(time.mktime(t.timetuple()))) 1652 self.assertEqual(t.ctime(), time.ctime(time.mktime(t.timetuple()))) 2119 self.assertEqual(t.timetuple(), (2004, 12, 31, 6, 22, 33, 4, 366, -1)) 2120 self.assertEqual(t.timetuple(), 2126 tt = t.timetuple() 3341 t = d.timetuple() 3353 self.assertRaises(TypeError, cls(1, 1, 1, tzinfo=DST("x")).timetuple) [all...] |
H A D | test_xmlrpc.py | 425 dtime = xmlrpclib.DateTime(now.timetuple()) 438 dtime_then = xmlrpclib.DateTime(then.timetuple()) 444 dtuple = now.timetuple()
|
H A D | test_strptime.py | 504 dt_date.timetuple()[7])
|
/external/autotest/scheduler/ |
H A D | agent_task.py | 562 return 'job_queued', int(time.mktime(job.created_on.timetuple()))
|
H A D | monitor_db.py | 1431 t = int(time.mktime(queue_entry.aborted_on.timetuple()))
|
/external/python/cpython2/Modules/ |
H A D | datetimemodule.c | 1163 PyObject *timetuple, PyObject *tzinfoarg) 1183 assert(object && format && timetuple); 1196 PyObject *pyyear = PySequence_GetItem(timetuple, 0); 1350 newfmt, timetuple); 2524 * timetuple() method appropriate to self's class. 2536 tuple = PyObject_CallMethod((PyObject *)self, "timetuple", "()"); 2618 else if (PyObject_HasAttrString(other, "timetuple")) { 2738 {"timetuple", (PyCFunction)date_timetuple, METH_NOARGS, 3314 * timetuple. The year is forced to (the otherwise nonsensical) 4277 /* If other has a "timetuple" att 1162 wrap_strftime(PyObject *object, const char *format, size_t format_len, PyObject *timetuple, PyObject *tzinfoarg) argument [all...] |
/external/v8/tools/release/ |
H A D | common_includes.py | 278 return time.mktime(datetime.datetime.utcnow().timetuple())
|
/external/python/cpython3/Modules/ |
H A D | _datetimemodule.c | 1219 wrap_strftime(PyObject *object, PyObject *format, PyObject *timetuple, argument 1241 assert(object && format && timetuple); 1369 format, timetuple, NULL); 2726 * timetuple() method appropriate to self's class. 2731 _Py_IDENTIFIER(timetuple); 2920 {"timetuple", (PyCFunction)date_timetuple, METH_NOARGS, 3762 * timetuple. The year is forced to (the otherwise nonsensical) 5507 {"timetuple", (PyCFunction)datetime_timetuple, METH_NOARGS,
|
/external/python/cpython2/Lib/email/test/ |
H A D | test_email.py | 1147 timetuple = time.localtime(now) 1148 if timetuple[-1] == 0:
|
H A D | test_email_renamed.py | 1082 timetuple = time.localtime(now) 1083 if timetuple[-1] == 0:
|
/external/python/cpython3/Lib/test/test_email/ |
H A D | test_email.py | 1726 timetuple = time.localtime(now) 1727 if timetuple[-1] == 0:
|