Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/utils/Reviewing/
Dfind_interesting_reviews.py92 datetime.fromtimestamp(self.most_recent_info)
225 oldest_info_to_fetch = datetime.fromtimestamp(most_recent_info) - \
232 datetime.fromtimestamp(most_recent_info)))
234 and datetime.fromtimestamp(oldest_info) > oldest_info_to_fetch):
237 datetime.fromtimestamp(cache.oldest_info) > oldest_info_to_fetch)
241 datetime.fromtimestamp(cache.oldest_info)
258 datetime.fromtimestamp(most_recent_info)))
295 id, datetime.fromtimestamp(dateModified), len(phabDiffs)))
346 datetime.fromtimestamp(cache.most_recent_info)
367 datetime.fromtimestamp(newest_reviews[0].dateModified)
[all …]
/external/python/apitools/apitools/base/protorpclite/
Dmessage_types.py91 return datetime.datetime.fromtimestamp(milliseconds / 1000.0,
105 local_epoch = datetime.datetime.fromtimestamp(-time_zone_offset,
/external/toolchain-utils/llvm_tools/
Dllvm_project.py45 commit_time = datetime.datetime.fromtimestamp(int(commit_timestamp.strip()))
/external/autotest/tko/
Dutils.py16 val = datetime.datetime.fromtimestamp(int(val))
Djob_serializer.py389 datetime.fromtimestamp(value/1000.0))
/external/autotest/site_utils/
Dcount_jobs_unittest.py50 some_day = datetime.fromtimestamp(1450211914) # a time grabbed from time.time()
Ddiagnosis_utils.py126 self.job_created_time = datetime.fromtimestamp(job_created_time)
/external/llvm-project/clang-tools-extra/clangd/include-mapping/
Dgen_std.py100 cppreference_modified_date = datetime.datetime.fromtimestamp(
/external/autotest/client/common_lib/
Dtime_utils.py83 return datetime.datetime.fromtimestamp(
/external/python/cpython3/Tools/scripts/
Ddiff.py15 t = datetime.fromtimestamp(os.stat(path).st_mtime,
/external/oss-fuzz/infra/
Drepo_manager.py87 return datetime.datetime.fromtimestamp(int(out), tz=datetime.timezone.utc)
/external/python/cpython2/Doc/c-api/
Ddatetime.rst229 suitable for passing to ``datetime.datetime.fromtimestamp()``.
237 suitable for passing to ``datetime.date.fromtimestamp()``.
/external/bcc/examples/networking/vlan_filter/
Ddata-plane-tracing.py175 timestamp = str(datetime.fromtimestamp(time.time()).strftime('%Y-%m-%d %H:%M:%S.%f'))
/external/toolchain-utils/
Dsetup_chromeos.py88 tdt = datetime.fromtimestamp(float(timestamp))
/external/python/setuptools/pkg_resources/tests/
Dtest_pkg_resources.py122 actual = datetime.datetime.fromtimestamp(os.stat(filename).st_mtime)
/external/python/cpython3/Doc/c-api/
Ddatetime.rst243 tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp()`.
249 tuple suitable for passing to :meth:`datetime.date.fromtimestamp()`.
/external/python/cpython3/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 …]
/external/python/cpython3/Lib/email/
Dutils.py147 dt = datetime.datetime.fromtimestamp(timeval, datetime.timezone.utc)
/external/python/cpython2/Doc/library/
Dplistlib.rst128 aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())),
Ddatetime.rst367 ``date.fromtimestamp(time.time())``.
370 .. classmethod:: date.fromtimestamp(timestamp)
377 timestamp, leap seconds are ignored by :meth:`fromtimestamp`.
574 >>> today == date.fromtimestamp(time.time())
655 equivalent to ``datetime.fromtimestamp(time.time())``. See also :meth:`now`,
656 :meth:`fromtimestamp`.
680 .. classmethod:: datetime.fromtimestamp(timestamp[, tz])
692 :meth:`fromtimestamp` may raise :exc:`ValueError`, if the timestamp is out of
696 their notion of a timestamp, leap seconds are ignored by :meth:`fromtimestamp`,
707 :meth:`fromtimestamp`.
/external/python/cpython3/Doc/library/
Ddatetime.rst487 This is equivalent to ``date.fromtimestamp(time.time())``.
489 .. classmethod:: date.fromtimestamp(timestamp)
499 timestamp, leap seconds are ignored by :meth:`fromtimestamp`.
754 >>> today == date.fromtimestamp(time.time())
853 datetime.fromtimestamp(time.time())
855 See also :meth:`now`, :meth:`fromtimestamp`.
892 .. classmethod:: datetime.fromtimestamp(timestamp, tz=None)
902 :meth:`fromtimestamp` may raise :exc:`OverflowError`, if the timestamp is out of
908 their notion of a timestamp, leap seconds are ignored by :meth:`fromtimestamp`,
921 :meth:`fromtimestamp` may return instances with :attr:`.fold` set to 1.
[all …]
Dplistlib.rst175 aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())),
/external/autotest/client/tools/
Dhtml_report.py1429 now = datetime.datetime.fromtimestamp(epoch_sec)
/external/python/cpython2/Lib/test/
Dtest_datetime.py787 d = self.theclass.fromtimestamp(ts)
798 self.assertRaises(ValueError, self.theclass.fromtimestamp,
809 todayagain = self.theclass.fromtimestamp(ts)
1529 got = self.theclass.fromtimestamp(ts)
1543 self.assertEqual(self.theclass.fromtimestamp(0.9999999),
1544 self.theclass.fromtimestamp(1))
1552 self.assertRaises(ValueError, self.theclass.fromtimestamp,
1567 self.theclass.fromtimestamp(-1.05)
2705 meth = self.theclass.fromtimestamp
2735 got = datetime.fromtimestamp(timestamp, tz)
/external/python/cpython3/Lib/
Ddatetime.py858 def fromtimestamp(cls, t): member in date
867 return cls.fromtimestamp(t)
1712 def fromtimestamp(cls, t, tz=None): member in datetime
1730 return cls.fromtimestamp(t, tz)

12