Home
last modified time | relevance | path

Searched refs:MICROSECONDS (Results 1 – 10 of 10) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java13 import static java.util.concurrent.TimeUnit.MICROSECONDS;
54 SECONDS.convert(1000000L*t, MICROSECONDS)); in testConvert()
69 MILLISECONDS.convert(1000L*t, MICROSECONDS)); in testConvert()
74 MICROSECONDS.convert(t, DAYS)); in testConvert()
76 MICROSECONDS.convert(t, HOURS)); in testConvert()
78 MICROSECONDS.convert(t, MINUTES)); in testConvert()
80 MICROSECONDS.convert(t, SECONDS)); in testConvert()
82 MICROSECONDS.convert(t, MILLISECONDS)); in testConvert()
84 MICROSECONDS.convert(t, MICROSECONDS)); in testConvert()
86 MICROSECONDS.convert(1000L*t, NANOSECONDS)); in testConvert()
[all …]
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixCopyFile.java194 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyDirectory()
195 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyDirectory()
198 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyDirectory()
199 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyDirectory()
274 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyFile()
275 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyFile()
278 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyFile()
279 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyFile()
356 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copySpecial()
357 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copySpecial()
DUnixFileAttributeViews.java92 long modValue = lastModifiedTime.to(TimeUnit.MICROSECONDS); in setTimes()
93 long accessValue= lastAccessTime.to(TimeUnit.MICROSECONDS); in setTimes()
DUnixSecureDirectoryStream.java424 lastAccessTime.to(TimeUnit.MICROSECONDS), in setTimes()
425 lastModifiedTime.to(TimeUnit.MICROSECONDS)); in setTimes()
DUnixFileAttributes.java116 return FileTime.from(micro, TimeUnit.MICROSECONDS); in toFileTime()
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java57 eq(now, MILLISECONDS, now*1000L, MICROSECONDS); in main()
59 neq(now, MILLISECONDS, 0, MICROSECONDS); in main()
62 eq(nowInstant, now*1000L, MICROSECONDS); in main()
64 neq(nowInstant, 0, MICROSECONDS); in main()
68 cmp(now, MILLISECONDS, now*1000L, MICROSECONDS, 0); in main()
100 cmp(nowInstant, now*1000L, MICROSECONDS, 0); in main()
186 ts(1L, MICROSECONDS, "1970-01-01T00:00:00.000001Z"); in main()
196 ts(-1L, MICROSECONDS, "1969-12-31T23:59:59.999999Z"); in main()
209 ts(-11644473600000000L, MICROSECONDS, "1601-01-01T00:00:00Z"); in main()
/libcore/ojluni/src/main/java/java/util/zip/
DZipUtils.java42 TimeUnit.MICROSECONDS); in winTimeToFileTime()
49 return (ftime.to(TimeUnit.MICROSECONDS) - WINDOWS_EPOCH_IN_MICROSECONDS) * 10; in fileTimeToWinTime()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessTest.java165 assertFalse(process.waitFor(0, TimeUnit.MICROSECONDS)); in test_waitForTimeout()
167 assertFalse(process.waitFor(500, TimeUnit.MICROSECONDS)); in test_waitForTimeout()
/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java96 MICROSECONDS { enumConstant
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java255 case MICROSECONDS: in toInstant()