/external/python/cpython3/Lib/email/ |
D | utils.py | 117 def _format_timetuple_and_zone(timetuple, zone): argument 119 ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'][timetuple[6]], 120 timetuple[2], 122 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'][timetuple[1] - 1], 123 timetuple[0], timetuple[3], timetuple[4], timetuple[5], 162 now = dt.timetuple() 360 tm = dt.timetuple()[:-1] + (isdst,)
|
/external/python/setuptools/pkg_resources/tests/ |
D | test_pkg_resources.py | 35 return time.mktime(dt.timetuple()) 59 zip_info.date_time = cls.ref_time.timetuple() 63 zip_info.date_time = cls.ref_time.timetuple() 67 zip_info.date_time = cls.ref_time.timetuple() 71 zip_info.date_time = cls.ref_time.timetuple()
|
/external/autotest/venv/lucifer/ |
D | jobx.py | 131 int(time.mktime(job.created_on.timetuple())) 149 aborted_on = int(time.mktime(ahqe.aborted_on.timetuple()))
|
/external/python/cpython2/Doc/includes/sqlite3/ |
D | adapter_datetime.py | 5 return time.mktime(ts.timetuple())
|
/external/python/cpython3/Doc/includes/sqlite3/ |
D | adapter_datetime.py | 6 return time.mktime(ts.timetuple())
|
/external/autotest/tko/ |
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
|
D | job_serializer.py | 415 t = mktime(t.timetuple()) + 1e-6 * t.microsecond
|
/external/autotest/server/cros/dynamic_suite/ |
D | job_status.py | 282 begin_time_str, time_utils.TIME_FMT).timetuple())) 289 end_time_str, time_utils.TIME_FMT).timetuple()))
|
/external/autotest/client/common_lib/ |
D | time_utils.py | 98 return time.mktime(value.timetuple()) + 0.000001 * value.microsecond
|
/external/python/cpython2/Doc/library/ |
D | datetime.rst | 464 :meth:`timetuple` attribute. This hook gives other kinds of date objects a 482 .. method:: date.timetuple() 485 The hours, minutes and seconds are 0, and the DST flag is -1. ``d.timetuple()`` 547 ``time.ctime(time.mktime(d.timetuple()))`` on platforms where the native C 593 >>> t = d.timetuple() 867 :meth:`timetuple` attribute. This hook gives other kinds of date objects a 964 .. method:: datetime.timetuple() 967 ``d.timetuple()`` is equivalent to ``time.struct_time((d.year, d.month, d.day, 980 ``d.timetuple()`` except that :attr:`tm_isdst` is forced to 0 regardless of what 1048 equivalent to ``time.ctime(time.mktime(d.timetuple()))`` on platforms where the [all …]
|
/external/python/cpython3/Lib/ |
D | datetime.py | 196 def _wrap_strftime(object, format, timetuple): argument 257 return _time.strftime(newformat, timetuple) 907 return _wrap_strftime(self, fmt, self.timetuple()) 948 def timetuple(self): member in date 1401 timetuple = (1900, 1, 1, 1404 return _wrap_strftime(self, fmt, timetuple) 1691 def timetuple(self): member in datetime
|
/external/python/cpython2/Lib/test/ |
D | test_datetime.py | 983 t = d.timetuple() 987 t = d.timetuple() 992 t = d.timetuple() 1085 def timetuple(self): member in TestDate.test_mixed_compare.Comparable 1287 self.assertEqual(t.ctime(), time.ctime(time.mktime(t.timetuple()))) 1601 self.assertEqual(t.timetuple(), (2004, 12, 31, 6, 22, 33, 4, 366, -1)) 1602 self.assertEqual(t.timetuple(), 1608 tt = t.timetuple() 2774 t = d.timetuple() 2786 self.assertRaises(TypeError, cls(1, 1, 1, tzinfo=DST("x")).timetuple) [all …]
|
D | test_strptime.py | 459 strp_output[7], dt_date.timetuple()[7]))
|
/external/python/dateutil/dateutil/tz/ |
D | _common.py | 119 args = dt.timetuple()[:6]
|
/external/python/cpython3/Lib/xmlrpc/ |
D | client.py | 314 s = self.timetuple() 315 o = other.timetuple() 344 def timetuple(self): member in DateTime
|
/external/python/cpython3/Doc/library/ |
D | datetime.rst | 533 :meth:`timetuple` attribute. This hook gives other kinds of date objects a 551 .. method:: date.timetuple() 554 The hours, minutes and seconds are 0, and the DST flag is -1. ``d.timetuple()`` 616 ``time.ctime(time.mktime(d.timetuple()))`` on platforms where the native C 664 >>> t = d.timetuple() 1007 :meth:`timetuple` attribute. This hook gives other kinds of date objects a 1127 .. method:: datetime.timetuple() 1130 ``d.timetuple()`` is equivalent to ``time.struct_time((d.year, d.month, d.day, 1143 ``d.timetuple()`` except that :attr:`tm_isdst` is forced to 0 regardless of what 1279 equivalent to ``time.ctime(time.mktime(d.timetuple()))`` on platforms where the [all …]
|
/external/python/cpython2/Lib/ |
D | xmlrpclib.py | 400 s = self.timetuple() 401 o = other.timetuple() 434 def timetuple(self): member in DateTime
|
/external/autotest/client/cros/update_engine/ |
D | update_engine_util.py | 372 return time.mktime(log_datetime.timetuple())
|
/external/autotest/client/tools/ |
D | html_report.py | 1425 epoch_sec = time.mktime(t.timetuple())
|
/external/python/cpython3/Lib/test/ |
D | datetimetester.py | 1419 t = d.timetuple() 1423 t = d.timetuple() 1428 t = d.timetuple() 1925 self.assertEqual(t.ctime(), time.ctime(time.mktime(t.timetuple()))) 2427 self.assertEqual(t.timetuple(), (2004, 12, 31, 6, 22, 33, 4, 366, -1)) 2428 self.assertEqual(t.timetuple(), 2434 tt = t.timetuple() 4151 t = d.timetuple() 4163 self.assertRaises(TypeError, cls(1, 1, 1, tzinfo=DST("x")).timetuple) 4166 self.assertEqual(cls(1,1,1, tzinfo=DST(1439)).timetuple().tm_isdst, 1) [all …]
|
D | test_xmlrpc.py | 513 dtime = xmlrpclib.DateTime(now.timetuple()) 526 dtime_then = xmlrpclib.DateTime(then.timetuple()) 532 dtuple = now.timetuple()
|
/external/autotest/server/cros/power/ |
D | power_telemetry_logger.py | 40 return time.mktime(ts.timetuple()) + ts.microsecond / 1e6
|
/external/autotest/scheduler/ |
D | monitor_db.py | 1077 create_on = time.mktime(entry.job.created_on.timetuple()) 1397 t = int(time.mktime(queue_entry.aborted_on.timetuple()))
|
D | agent_task.py | 562 return 'job_queued', int(time.mktime(job.created_on.timetuple()))
|
/external/python/dateutil/dateutil/ |
D | rrule.py | 701 h, m, s = self._dtstart.timetuple()[3:6] 768 self._dtstart.timetuple()
|