Home
last modified time | relevance | path

Searched refs:microsecond (Results 1 – 25 of 214) sorted by relevance

123456789

/external/python/dateutil/dateutil/
Drelativedelta.py110 hour=None, minute=None, second=None, microsecond=None): argument
142 self.microsecond = None
193 self.microsecond = microsecond
197 minute, second, microsecond)):
259 self.second is not None or self.microsecond is not None):
315 microsecond=self.microsecond)
342 microsecond=(other.microsecond if other.microsecond
344 self.microsecond))
361 microsecond=self.microsecond)
435 microsecond=(self.microsecond if self.microsecond
[all …]
/external/python/cpython3/Lib/
Ddatetime.py428 def _check_time_fields(hour, minute, second, microsecond, fold): argument
432 microsecond = _check_int_field(microsecond)
439 if not 0 <= microsecond <= 999999:
440 raise ValueError('microsecond must be in 0..999999', microsecond)
443 return hour, minute, second, microsecond, fold
1270 def __new__(cls, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0): argument
1296 hour, minute, second, microsecond, fold = _check_time_fields(
1297 hour, minute, second, microsecond, fold)
1303 self._microsecond = microsecond
1326 def microsecond(self): member in time
[all …]
/external/python/asn1crypto/asn1crypto/
Dutil.py592 def microsecond(self): member in extended_datetime
598 return self._y2k.microsecond
665 if self.microsecond:
666 s += '.%06d' % self.microsecond
876 value.microsecond,
/external/autotest/client/site_tests/hardware_Usb30Throughput/
Dhardware_Usb30Throughput.py118 start.second+start.microsecond/USECS_IN_SEC,
119 end.second+end.microsecond/USECS_IN_SEC,
/external/python/pybind11/tests/
Dtest_chrono.py75 assert time2.microsecond == 0
123 assert time1.microsecond == time2.microsecond
/external/python/cpython3/Doc/c-api/
Ddatetime.rst98 minute, second and microsecond.
104 minute, second, microsecond and fold.
112 microsecond.
118 microsecond and fold.
186 Return the microsecond, as an int from 0 through 999999.
210 Return the microsecond, as an int from 0 through 999999.
/external/python/cryptography/tests/x509/
Dtest_ocsp.py334 current_time = datetime.datetime.utcnow().replace(microsecond=0)
348 current_time = datetime.datetime.utcnow().replace(microsecond=0)
364 current_time = datetime.datetime.utcnow().replace(microsecond=0)
392 current_time = datetime.datetime.utcnow().replace(microsecond=0)
416 current_time = datetime.datetime.utcnow().replace(microsecond=0)
434 current_time = datetime.datetime.utcnow().replace(microsecond=0)
457 current_time = datetime.datetime.utcnow().replace(microsecond=0)
482 current_time = datetime.datetime.utcnow().replace(microsecond=0)
504 current_time = datetime.datetime.utcnow().replace(microsecond=0)
522 current_time = datetime.datetime.utcnow().replace(microsecond=0)
/external/icu/icu4c/source/data/unit/
Dce.txt29 microsecond{
183 microsecond{
Dsmn.txt13 microsecond{
Dsah.txt85 microsecond{
367 microsecond{
Dsw_KE.txt10 microsecond{
/external/python/pyasn1/pyasn1/type/
Duseful.py126 return dt.replace(microsecond=ms, tzinfo=tzinfo)
145 text += '.%d' % (dt.microsecond // 1000)
/external/python/cpython2/Doc/c-api/
Ddatetime.rst111 minute, second and microsecond.
119 microsecond.
187 Return the microsecond, as an int from 0 through 999999.
219 Return the microsecond, as an int from 0 through 999999.
/external/python/cpython3/Doc/includes/
Dtzinfo_examples.py30 return datetime(*args, microsecond=dt.microsecond,
/external/autotest/tko/
Djob_serializer_unittest.py224 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
/external/libaom/libaom/test/
Dgviz_api.py51 if o.microsecond == 0:
59 o.microsecond / 1000)
270 if value.microsecond == 0:
285 value.microsecond / 1000)
/external/python/dateutil/dateutil/test/
Dtest_utils.py44 d2 = d1.replace(microsecond=15)
/external/autotest/client/common_lib/
Dtime_utils.py104 return time.mktime(value.timetuple()) + 0.000001 * value.microsecond
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Dcheck_on_pr.py125 datetime.datetime.utcnow().replace(microsecond=0).isoformat()) + 'Z'
/external/python/cpython3/Doc/library/
Ddatetime.rst100 Attributes: :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:`microsecond`,
108 :attr:`day`, :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:`microsecond`,
116 or :class:`.datetime` instances to microsecond resolution.
230 combined and their sum is rounded to the nearest microsecond using
422 most platforms) this method will lose microsecond accuracy.
825 .. class:: datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fo…
837 * ``0 <= microsecond < 1000000``,
965 microsecond of the result are all 0, and :attr:`.tzinfo` is ``None``.
1100 .. attribute:: datetime.microsecond
1204 Return :class:`.time` object with same hour, minute, second, microsecond and fold.
[all …]
/external/python/cpython3/Lib/test/
Ddatetimetester.py1132 self.assertEqual(fromord.microsecond, 0)
1965 self.assertEqual(dt.microsecond, 0)
1977 self.assertEqual(dt.microsecond, 8000)
1992 dt.microsecond)
2436 self.assertEqual(zero.microsecond, 0)
2445 self.assertEqual(minus_one.microsecond, 999999)
2455 self.assertEqual(t.microsecond, 992188)
2463 self.assertEqual(t.microsecond, 999999)
2466 self.assertEqual(t.microsecond, 0)
2469 self.assertEqual(t.microsecond, 7812)
[all …]
/external/python/cpython2/Doc/library/
Ddatetime.rst85 Attributes: :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:`microsecond`,
93 :attr:`day`, :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:`microsecond`,
101 or :class:`.datetime` instances to microsecond resolution.
167 to the nearest microsecond. If no argument is a float, the conversion and
307 most platforms) this method will lose microsecond accuracy.
634 .. class:: datetime(year, month, day[, hour[, minute[, second[, microsecond[, tzinfo]]]]])
646 * ``0 <= microsecond < 1000000``
715 microsecond of the result are all 0, and :attr:`.tzinfo` is ``None``.
793 .. attribute:: datetime.microsecond
885 Return :class:`.time` object with same hour, minute, second and microsecond.
[all …]
/external/python/cpython2/Lib/test/
Dtest_datetime.py617 self.assertEqual(fromord.microsecond, 0)
1201 self.assertEqual(dt.microsecond, 0)
1213 self.assertEqual(dt.microsecond, 8000)
1228 dt.microsecond)
1739 self.assertEqual(t.microsecond, 0)
1748 self.assertEqual(t.microsecond, 8000)
1762 t.microsecond)
1866 t = self.theclass(microsecond=1)
1870 t = self.theclass(microsecond=10)
1874 t = self.theclass(microsecond=100)
[all …]
/external/python/cpython3/Modules/
D_testcapimodule.c2449 int hour, minute, second, microsecond; in get_datetime_fromdateandtime() local
2454 &hour, &minute, &second, &microsecond)) { in get_datetime_fromdateandtime()
2461 hour, minute, second, microsecond); in get_datetime_fromdateandtime()
2466 hour, minute, second, microsecond, in get_datetime_fromdateandtime()
2479 int hour, minute, second, microsecond, fold; in get_datetime_fromdateandtimeandfold() local
2484 &hour, &minute, &second, &microsecond, in get_datetime_fromdateandtimeandfold()
2492 hour, minute, second, microsecond, in get_datetime_fromdateandtimeandfold()
2498 hour, minute, second, microsecond, in get_datetime_fromdateandtimeandfold()
2511 int hour, minute, second, microsecond; in get_time_fromtime() local
2515 &hour, &minute, &second, &microsecond)) { in get_time_fromtime()
[all …]
/external/python/cpython3/Lib/turtledemo/
Dclock.py98 sekunde = t.second + t.microsecond*0.000001

123456789