Searched refs:ftime (Results 1 – 3 of 3) sorted by relevance
48 public static final long fileTimeToWinTime(FileTime ftime) { in fileTimeToWinTime() argument49 return (ftime.to(TimeUnit.MICROSECONDS) - WINDOWS_EPOCH_IN_MICROSECONDS) * 10; in fileTimeToWinTime()62 public static final long fileTimeToUnixTime(FileTime ftime) { in fileTimeToUnixTime() argument63 return ftime.to(TimeUnit.SECONDS); in fileTimeToUnixTime()
188 long ftime = System.currentTimeMillis(); in test_sleepJ() local190 assertTrue("Failed to sleep long enough", (ftime - stime) >= 500); in test_sleepJ()191 assertTrue("Failed to wake up early enough", (ftime - stime) <= 1500); in test_sleepJ()235 long ftime = System.currentTimeMillis(); in test_sleepJI() local237 assertTrue("Failed to sleep long enough", (ftime - stime) >= 500); in test_sleepJI()238 assertTrue("Failed to wake up early enough", (ftime - stime) <= 1500); in test_sleepJI()
821 long stime = 0, ftime = 0; in test_sleepJ() local825 ftime = System.currentTimeMillis(); in test_sleepJ()829 long elapsedMillis = ftime - stime; in test_sleepJ()842 long stime = 0, ftime = 0; in test_sleepJI() local846 ftime = System.currentTimeMillis(); in test_sleepJI()850 long elapsedMillis = ftime - stime; in test_sleepJI()