List of usage examples for java.lang System currentTimeMillis
@HotSpotIntrinsicCandidate public static native long currentTimeMillis();
From source file:Util.java
public static Date getTodayDate() { return new Date(System.currentTimeMillis()); }
From source file:Main.java
public static long getMaxTimeStampForIgMedia() { return System.currentTimeMillis() / 1000; }
From source file:Main.java
public static int currentTimeInSeconds() { return (int) (System.currentTimeMillis() / 1000); }
From source file:Main.java
public static long _getGMTime() { int round = (int) (System.currentTimeMillis() / 1000); return round; }
From source file:Main.java
public static String getTimeStamp() { return Long.toString(System.currentTimeMillis() / 1000); }
From source file:Main.java
public static String getTimeStamp() { return String.valueOf(System.currentTimeMillis() / 1000); }
From source file:Main.java
public static long getCurrentUnixTime() { return Math.round(System.currentTimeMillis() / 1000d); }
From source file:Main.java
public static int getWeekInt(long startUnix) { long i = System.currentTimeMillis() / 1000 - startUnix; int day = (int) (i / 86400); return day / 7 + 1; }
From source file:Main.java
public static String getUnixTimeStamp() { long unixTime = System.currentTimeMillis() / 1000; return Long.toString(unixTime); }
From source file:Main.java
public static boolean isResponseEvent(long lastTime) { return System.currentTimeMillis() - lastTime > 1000; }