List of usage examples for java.lang System currentTimeMillis
@HotSpotIntrinsicCandidate public static native long currentTimeMillis();
From source file:Main.java
public static long getCurrentTiem() { return System.currentTimeMillis(); }
From source file:Main.java
public static long getTimeMillis() { return System.currentTimeMillis(); }
From source file:Main.java
public static long getLongDate() { return System.currentTimeMillis(); }
From source file:Main.java
public static String getTImeStamp() { return System.currentTimeMillis() + ""; }
From source file:Main.java
public static String getUUID() { long num = System.currentTimeMillis(); // Log.d("SortUtil", "" + num); return Long.toString(num); }
From source file:Main.java
public static long currentTimeSeconds() { return System.currentTimeMillis() / 1000; }
From source file:Main.java
public static void pause(int i) { long t = System.currentTimeMillis() + i; while (System.currentTimeMillis() < t) { Thread.yield();/*ww w. j a v a 2 s . co m*/ } }
From source file:Main.java
public static long getUnixTimeStamp() { return System.currentTimeMillis() / 1000; }
From source file:Main.java
public static final int getTime() { return (int) System.currentTimeMillis(); }
From source file:Main.java
public static long getCurrentDateToLong() { return System.currentTimeMillis(); }