Class TimeUtils


  • public class TimeUtils
    extends Object
    • Constructor Detail

      • TimeUtils

        public TimeUtils()
    • Method Detail

      • formatUnixTime

        @NotNull
        public static @NotNull String formatUnixTime​(long unixTime,
                                                     String format)
      • formatTimeInMillis

        @NotNull
        public static @NotNull String formatTimeInMillis​(long time,
                                                         String format)
      • getCurrentUnixTime

        public static long getCurrentUnixTime()
      • getCurrentTime

        public static long getCurrentTime()