|
|
@ -44,9 +44,6 @@ public class SystemClock {
|
|
|
|
return now.get();
|
|
|
|
return now.get();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 用来替换原来的System.currentTimeMillis()
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public static long now() {
|
|
|
|
public static long now() {
|
|
|
|
return instance().currentTimeMillis();
|
|
|
|
return instance().currentTimeMillis();
|
|
|
|
}
|
|
|
|
}
|
|
|
|