Package com.github.twitch4j.common.util
Class TimeUtils
java.lang.Object
com.github.twitch4j.common.util.TimeUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Calendar
fromInstant
(Instant time) Deprecated.Will no longer be used by Twitch4J from version 2.0.0static long
Gets the current time in millis
-
Constructor Details
-
TimeUtils
public TimeUtils()
-
-
Method Details
-
getCurrentTimeInMillis
public static long getCurrentTimeInMillis()Gets the current time in millis- Returns:
- long
-
fromInstant
@Deprecated @ScheduledForRemoval(inVersion="2.0.0") public static Calendar fromInstant(Instant time) Deprecated.Will no longer be used by Twitch4J from version 2.0.0
-