接口 TimeSource

所有已知实现类:
SystemTimeSource

public interface TimeSource
An interface to abstract the source of current time away from System. This allows code to run in simulations where the time is controlled explicitly.
  • 方法概要

    修饰符和类型
    方法
    说明
    long
    currentTimeMillis.
  • 方法详细资料

    • currentTimeMillis

      long currentTimeMillis()

      currentTimeMillis.

      返回:
      a long.