List of usage examples for java.lang System currentTimeMillis
@HotSpotIntrinsicCandidate public static native long currentTimeMillis();
From source file:Main.java
public static long spendMs(long preTime) { return System.currentTimeMillis() - preTime; }
From source file:Main.java
public static String generateReplyID() { long l = System.currentTimeMillis(); return "RP" + String.valueOf(l) + String.valueOf((int) (1000.0D + Math.random() * 9000.0D)); }
From source file:Main.java
public static String getSystemTimeMillis() { return System.currentTimeMillis() + ""; }
From source file:Main.java
public static long getCurrentSeconds() { long ls = System.currentTimeMillis() / 1000; return ls; }
From source file:Main.java
public static long getUTCDateTimeAsMillis() { return System.currentTimeMillis(); }
From source file:Main.java
public static long milliSecondsToNow(long l) { return System.currentTimeMillis() - l; }
From source file:Main.java
public static long getCurrentMillisecond() { return System.currentTimeMillis(); }
From source file:Main.java
public static int getDatabaseVersion() { return (int) (System.currentTimeMillis() / 1000); }
From source file:Main.java
public static long getCurrentTimeMillis() { long t = System.currentTimeMillis(); return t; }
From source file:Main.java
public static String getImageName() { return "zlapp_" + System.currentTimeMillis() + ".jpg"; }