Class ShadowSystem

java.lang.Object
org.robolectric.shadows.ShadowSystem

public class ShadowSystem extends Object
  • Constructor Details

    • ShadowSystem

      public ShadowSystem()
  • Method Details

    • nanoTime

      public static long nanoTime()
      Implements System.nanoTime() through ShadowWrangler.
      Returns:
      Current time with nanos.
    • currentTimeMillis

      public static long currentTimeMillis()
      Implements System.currentTimeMillis() through ShadowWrangler.
      Returns:
      Current time with millis.