Home
last modified time | relevance | path

Searched refs:datetime (Results 1 – 7 of 7) sorted by relevance

/libcore/tools/testmapping/
Dgen_smoke_tests.py22 import datetime
38 THIS_YEAR = datetime.datetime.now().year
44 MAX_RUN_TIME = datetime.timedelta(minutes=10)
93 timestamp = datetime.datetime(
237 datetime.timedelta(0)) / len(overall_times)
238 total_time_by_test = sum(fastest_time_by_test.values(), datetime.timedelta(0))
275 time_by_package = collections.defaultdict(datetime.timedelta)
308 total_time = datetime.timedelta()
/libcore/tools/docs/crypto/
Dupdate_crypto_support_test.py17 import datetime
29 datetime.datetime.utcfromtimestamp(1234567890))
Dupdate_crypto_support.py27 import datetime
266 datetime.datetime.utcnow())
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java339 private Temporal datetime; field in TCKChronoLocalDate.FixedAdjuster
341 FixedAdjuster(Temporal datetime) { in FixedAdjuster() argument
342 this.datetime = datetime; in FixedAdjuster()
347 return datetime; in adjustInto()
352 return datetime; in addTo()
357 return datetime; in subtractFrom()
DTCKChronoLocalDateTime.java359 private Temporal datetime; field in TCKChronoLocalDateTime.FixedAdjuster
361 FixedAdjuster(Temporal datetime) { in FixedAdjuster() argument
362 this.datetime = datetime; in FixedAdjuster()
367 return datetime; in adjustInto()
372 return datetime; in addTo()
377 return datetime; in subtractFrom()
DTCKChronoZonedDateTime.java360 private Temporal datetime; field in TCKChronoZonedDateTime.FixedAdjuster
362 FixedAdjuster(Temporal datetime) { in FixedAdjuster() argument
363 this.datetime = datetime; in FixedAdjuster()
368 return datetime; in adjustInto()
373 return datetime; in addTo()
378 return datetime; in subtractFrom()
/libcore/luni/src/test/java/libcore/java/time/format/
DDateTimeFormatterTest.java91 private static String formatWithPattern(Locale l, String pattern, TemporalAccessor datetime) { in formatWithPattern() argument
92 return DateTimeFormatter.ofPattern(pattern, l).format(datetime); in formatWithPattern()