public class TimeUtils
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static long
Gets the current time in millis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TimeUtils
public TimeUtils()
-
Method Details
-
getCurrentTimeInMillis
public static long getCurrentTimeInMillis()
Gets the current time in millis
- Returns:
- long
-
fromInstant
- Parameters:
time
- an Instant
- Returns:
- a
Calendar
instance for the instant, in the system default zone