Home
last modified time | relevance | path

Searched refs:fromtimestamp (Results 1 – 25 of 27) sorted by relevance

12

/third_party/node/deps/v8/tools/release/
Dlist_deprecated.py79 current_blame['datetime'] = datetime.fromtimestamp(
146 commit_datetime = datetime.fromtimestamp(int(commit_datetime))
/third_party/python/Tools/scripts/
Ddiff.py15 t = datetime.fromtimestamp(os.stat(path).st_mtime,
/third_party/python/Lib/test/
Ddatetimetester.py1304 d = self.theclass.fromtimestamp(ts)
1315 self.assertRaises(OverflowError, self.theclass.fromtimestamp,
1326 todayagain = self.theclass.fromtimestamp(ts)
2378 got = self.theclass.fromtimestamp(ts)
2401 self.assertEqual(self.theclass.fromtimestamp(t1.timestamp()),
2403 self.assertEqual(self.theclass.fromtimestamp(t0.timestamp()),
2407 self.assertEqual(self.theclass.fromtimestamp(t.timestamp()), t)
2417 self.assertEqual(self.theclass.fromtimestamp(s), t)
2432 for fts in [self.theclass.fromtimestamp,
2477 self.assertEqual(self.theclass.fromtimestamp(min_ts, tz=timezone.utc),
[all …]
Dtest_imaplib.py55 datetime.fromtimestamp(2000000000,
Dtest_httpservers.py350 last_modif = datetime.datetime.fromtimestamp(mtime,
/third_party/python/Doc/c-api/
Ddatetime.rst259 tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp()`.
265 tuple suitable for passing to :meth:`datetime.date.fromtimestamp()`.
/third_party/python/Lib/email/
Dutils.py147 dt = datetime.datetime.fromtimestamp(timeval, datetime.timezone.utc)
/third_party/python/Doc/library/
Ddatetime.rst490 This is equivalent to ``date.fromtimestamp(time.time())``.
492 .. classmethod:: date.fromtimestamp(timestamp)
502 timestamp, leap seconds are ignored by :meth:`fromtimestamp`.
757 >>> today == date.fromtimestamp(time.time())
856 datetime.fromtimestamp(time.time())
858 See also :meth:`now`, :meth:`fromtimestamp`.
895 .. classmethod:: datetime.fromtimestamp(timestamp, tz=None)
905 :meth:`fromtimestamp` may raise :exc:`OverflowError`, if the timestamp is out of
911 their notion of a timestamp, leap seconds are ignored by :meth:`fromtimestamp`,
924 :meth:`fromtimestamp` may return instances with :attr:`.fold` set to 1.
[all …]
Dplistlib.rst175 aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())),
/third_party/mbedtls/scripts/
Dassemble_changelog.py363 return datetime.datetime.fromtimestamp(mtime)
/third_party/python/Lib/
Ddatetime.py827 def fromtimestamp(cls, t): member in date
836 return cls.fromtimestamp(t)
1681 def fromtimestamp(cls, t, tz=None): member in datetime
1699 return cls.fromtimestamp(t, tz)
Dimaplib.py1517 dt = datetime.fromtimestamp(date_time,
/third_party/json/tools/serve_header/
Dserve_header.py109 t = datetime.fromtimestamp(t)
/third_party/node/deps/v8/tools/testrunner/testproc/
Dprogress.py209 st = datetime.datetime.fromtimestamp(dt).strftime('%Y-%m-%d %H:%M:%S')
/third_party/python/Misc/NEWS.d/
D3.8.0a2.rst337 :meth:`datetime.datetime.now` and :meth:`datetime.fromtimestamp` called with
D3.7.0b1.rst543 Fix bug where :meth:`datetime.datetime.fromtimestamp` did not call __new__
D3.6.1rc1.rst340 Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check
D3.5.4rc1.rst828 Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check
D3.5.1rc1.rst648 Fix rounding in fromtimestamp() and utcfromtimestamp() methods of
D3.6.0a1.rst2856 fromtimestamp() and utcfromtimestamp() methods of datetime.datetime now
D3.8.0a1.rst6334 Migrate datetime.date.fromtimestamp to Argument Clinic. Patch by Tim
7837 Fix bug where :meth:`datetime.fromtimestamp` erroneously throws an
/third_party/python/Lib/http/
Dserver.py743 last_modif = datetime.datetime.fromtimestamp(
/third_party/node/deps/v8/tools/
Dgrokdump.py2851 dt = datetime.datetime.fromtimestamp(self.reader.header.time_date_stampt)
2898 time_date_stamp = datetime.datetime.fromtimestamp(module.time_date_stamp)
3479 f.write(datetime.datetime.fromtimestamp(mtime))
3894 time_date_stamp = datetime.datetime.fromtimestamp(module.time_date_stamp)
/third_party/python/Modules/
D_datetimemodule.c2880 _Py_IDENTIFIER(fromtimestamp); in date_today()
/third_party/python/Doc/whatsnew/
D3.7.rst1837 :meth:`date.fromordinal` and :meth:`date.fromtimestamp` are now up to

12