Package org.robolectric.shadows
Class ShadowSystem
java.lang.Object
org.robolectric.shadows.ShadowSystem
public class ShadowSystem extends Object
- 
Constructor SummaryConstructors Constructor Description ShadowSystem()
- 
Method SummaryModifier and Type Method Description static longcurrentTimeMillis()ImplementsSystem.currentTimeMillis()through ShadowWrangler.static longnanoTime()ImplementsSystem.nanoTime()through ShadowWrangler.
- 
Constructor Details- 
ShadowSystempublic ShadowSystem()
 
- 
- 
Method Details- 
nanoTimepublic static long nanoTime()ImplementsSystem.nanoTime()through ShadowWrangler.- Returns:
- Current time with nanos.
 
- 
currentTimeMillispublic static long currentTimeMillis()ImplementsSystem.currentTimeMillis()through ShadowWrangler.- Returns:
- Current time with millis.
 
 
-