@Test void getUptime() { Assertions.assertTrue(TimeUtils.getUptime(System.currentTimeMillis() - 1L) > 0); }
public static double getUptime(long uptime) { return (System.currentTimeMillis() - uptime) / MILLISECOND; }
TimeUtils { public static double getUptime(long uptime) { return (System.currentTimeMillis() - uptime) / MILLISECOND; } }
TimeUtils { public static double getUptime(long uptime) { return (System.currentTimeMillis() - uptime) / MILLISECOND; } private  TimeUtils(); }
TimeUtils { public static double getUptime(long uptime) { return (System.currentTimeMillis() - uptime) / MILLISECOND; } private  TimeUtils(); static String toSeconds(long ms); static String toMilliseconds(long nano); static String format(double time); static double getUptime(long uptime); static long getJVMUptime(); }
TimeUtils { public static double getUptime(long uptime) { return (System.currentTimeMillis() - uptime) / MILLISECOND; } private  TimeUtils(); static String toSeconds(long ms); static String toMilliseconds(long nano); static String format(double time); static double getUptime(long uptime); static long getJVMUptime(); static final double MILLISECOND; static final double NANOSECOND; }