Home
last modified time | relevance | path

Searched refs:timetuple (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/email/
Dutils.py117 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()
355 tm = dt.timetuple()[:-1] + (isdst,)
/third_party/python/Doc/includes/sqlite3/
Dadapter_datetime.py6 return time.mktime(ts.timetuple())
/third_party/python/Lib/
Ddatetime.py201 def _wrap_strftime(object, format, timetuple): argument
262 return _time.strftime(newformat, timetuple)
929 return _wrap_strftime(self, fmt, self.timetuple())
970 def timetuple(self): member in date
1454 timetuple = (1900, 1, 1,
1457 return _wrap_strftime(self, fmt, timetuple)
1745 def timetuple(self): member in datetime
/third_party/python/Doc/library/
Ddatetime.rst617 :meth:`timetuple` attribute. This hook gives other kinds of date objects a
640 .. method:: date.timetuple()
646 ``d.timetuple()`` is equivalent to::
724 time.ctime(time.mktime(d.timetuple()))
790 >>> t = d.timetuple()
1192 :meth:`timetuple` attribute. This hook gives other kinds of date objects a
1309 .. method:: datetime.timetuple()
1313 ``d.timetuple()`` is equivalent to::
1331 ``d.timetuple()`` except that :attr:`tm_isdst` is forced to 0 regardless of what
1348 you can use :meth:`.datetime.timetuple`.
[all …]
/third_party/python/Lib/xmlrpc/
Dclient.py319 s = self.timetuple()
320 o = other.timetuple()
356 def timetuple(self): member in DateTime
/third_party/python/Lib/test/
Ddatetimetester.py1492 self.assertEqual(t.strftime('%'), _time.strftime('%', t.timetuple()))
1495 _time.strftime("m:03 d:02 y:05 %", t.timetuple()),
1552 t = d.timetuple()
1556 t = d.timetuple()
1561 t = d.timetuple()
2112 self.assertEqual(t.ctime(), time.ctime(time.mktime(t.timetuple())))
2651 self.assertEqual(t.timetuple(), (2004, 12, 31, 6, 22, 33, 4, 366, -1))
2652 self.assertEqual(t.timetuple(),
2658 tt = t.timetuple()
4410 t = d.timetuple()
[all …]
Dtest_xmlrpc.py527 dtime = xmlrpclib.DateTime(now.timetuple())
540 dtime_then = xmlrpclib.DateTime(then.timetuple())
546 dtuple = now.timetuple()
Dtest_strptime.py561 dt_date.timetuple()[7])
Dtest_logging.py4000 r.created = time.mktime(dt.astimezone(None).timetuple())
4016 r.created = time.mktime(dt.astimezone(None).timetuple())
/third_party/node/deps/v8/tools/release/
Dcommon_includes.py182 return time.mktime(datetime.datetime.utcnow().timetuple())
/third_party/python/Modules/
D_datetimemodule.c1478 wrap_strftime(PyObject *object, PyObject *format, PyObject *timetuple, in wrap_strftime() argument
1500 assert(object && format && timetuple); in wrap_strftime()
1631 format, timetuple, NULL); in wrap_strftime()
3178 _Py_IDENTIFIER(timetuple); in date_strftime()
/third_party/python/Lib/test/test_email/
Dtest_email.py1768 timetuple = time.localtime(now)
1769 if timetuple[-1] == 0:
/third_party/python/Misc/
DHISTORY22088 They still do, except when the other object has a "timetuple" attribute,