类 NulsDateUtils

  • 所有已实现的接口:
    Runnable

    public class NulsDateUtils
    extends DateUtils
    implements Runnable
    时间服务类:用于同步网络模块标准时间 Time service class:Used to synchronize network standard time.
    作者:
    vivi
    • 构造器详细资料

      • NulsDateUtils

        public NulsDateUtils()
    • 方法详细资料

      • start

        public void start()
        启动时间同步线程 Start the time synchronization thread.
      • start

        public void start​(long refreshTime)
      • run

        public void run()
        指定者:
        run 在接口中 Runnable
      • getNetworkTime

        public void getNetworkTime()
      • getCurrentTimeMillis

        public static long getCurrentTimeMillis()
      • getCurrentTimeSeconds

        public static long getCurrentTimeSeconds()
      • getOffset

        public static long getOffset()
      • getNanoTime

        public static long getNanoTime()