Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/utils/Reviewing/
Dfind_interesting_reviews.py89 datetime.fromtimestamp(self.most_recent_info)
222 oldest_info_to_fetch = datetime.fromtimestamp(most_recent_info) - \
229 datetime.fromtimestamp(most_recent_info)))
231 and datetime.fromtimestamp(oldest_info) > oldest_info_to_fetch):
234 datetime.fromtimestamp(cache.oldest_info) > oldest_info_to_fetch)
238 datetime.fromtimestamp(cache.oldest_info)
255 datetime.fromtimestamp(most_recent_info)))
292 id, datetime.fromtimestamp(dateModified), len(phabDiffs)))
343 datetime.fromtimestamp(cache.most_recent_info)
364 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/autotest/site_utils/
Dcount_jobs_unittest.py45 some_day = datetime.fromtimestamp(1450211914) # a time grabbed from time.time()
Ddiagnosis_utils.py152 self.job_created_time = datetime.fromtimestamp(job_created_time)
/external/autotest/tko/
Dutils.py23 val = datetime.datetime.fromtimestamp(int(val))
Djob_serializer.py389 datetime.fromtimestamp(value/1000.0))
/external/fonttools/Lib/fontTools/ufoLib/
Dutils.py35 EPOCH = datetime.fromtimestamp(0, tz=utc)
/external/autotest/client/common_lib/
Dtime_utils.py77 return datetime.datetime.fromtimestamp(
/external/python/cpython3/Tools/scripts/
Ddiff.py15 t = datetime.fromtimestamp(os.stat(path).st_mtime,
/external/swiftshader/third_party/SPIRV-Tools/utils/
Dupdate_build_version.py124 formatted = datetime.date.fromtimestamp(timestamp).isoformat()
/external/deqp-deps/SPIRV-Tools/utils/
Dupdate_build_version.py124 formatted = datetime.date.fromtimestamp(timestamp).isoformat()
/external/python/cpython2/Doc/c-api/
Ddatetime.rst229 suitable for passing to ``datetime.datetime.fromtimestamp()``.
237 suitable for passing to ``datetime.date.fromtimestamp()``.
/external/python/cpython3/Lib/test/
Ddatetimetester.py1200 d = self.theclass.fromtimestamp(ts)
1211 self.assertRaises(OverflowError, self.theclass.fromtimestamp,
1222 todayagain = self.theclass.fromtimestamp(ts)
2190 got = self.theclass.fromtimestamp(ts)
2213 self.assertEqual(self.theclass.fromtimestamp(t1.timestamp()),
2215 self.assertEqual(self.theclass.fromtimestamp(t0.timestamp()),
2219 self.assertEqual(self.theclass.fromtimestamp(t.timestamp()), t)
2229 self.assertEqual(self.theclass.fromtimestamp(s), t)
2244 for fts in [self.theclass.fromtimestamp,
2289 self.assertEqual(self.theclass.fromtimestamp(min_ts, tz=timezone.utc),
[all …]
/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/python/cpython3/Doc/c-api/
Ddatetime.rst227 tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp()`.
233 tuple suitable for passing to :meth:`datetime.date.fromtimestamp()`.
/external/toolchain-utils/
Dsetup_chromeos.py87 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/Lib/email/
Dutils.py147 dt = datetime.datetime.fromtimestamp(timeval, datetime.timezone.utc)
/external/autotest/client/tools/
Dhtml_report.py1426 now = datetime.datetime.fromtimestamp(epoch_sec)
/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/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/Doc/library/
Ddatetime.rst417 ``date.fromtimestamp(time.time())``.
420 .. classmethod:: date.fromtimestamp(timestamp)
428 timestamp, leap seconds are ignored by :meth:`fromtimestamp`.
645 >>> today == date.fromtimestamp(time.time())
730 equivalent to ``datetime.fromtimestamp(time.time())``. See also :meth:`now`,
731 :meth:`fromtimestamp`.
755 .. classmethod:: datetime.fromtimestamp(timestamp, tz=None)
767 :meth:`fromtimestamp` may raise :exc:`OverflowError`, if the timestamp is out of
773 their notion of a timestamp, leap seconds are ignored by :meth:`fromtimestamp`,
785 :meth:`fromtimestamp` may return instances with :attr:`.fold` set to 1.
[all …]
Dplistlib.rst217 aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())),
/external/python/cpython3/Lib/
Ddatetime.py839 def fromtimestamp(cls, t): member in date
848 return cls.fromtimestamp(t)
1627 def fromtimestamp(cls, t, tz=None): member in datetime
1645 return cls.fromtimestamp(t, tz)

12