This article links http://blog.csdn.net/xiaodongrush/article/details/28613213
Reference http://developer.android.com/reference/android/os/SystemClock.html
1. The same point and difference of three different time
The same point: both are relative times.
Different points: The baseline for comparison is different. Currenttimemillis can be set by the user through the clock, also can network school, anyway is to set, if not set, how the computer will know how long it is now from January 1, 1970. The other two are calculated after the operating system is booted, but one calculates the depth of sleep time, and the other is not counted.
System#currenttimemillis
Returns the current time in milliseconds since January 1, 1970 00:00:00.0 UTC.
Android.os.systemclock#uptimemillis
Returns milliseconds since boot, not counting time spent in deep sleep.
Android.os.systemclock#elapsedrealtime
Returns milliseconds since boot, including time spent in sleep.
2. Application Scenarios
Alarmmanager supports both the Currenttimemillis and Elapsedrealtime methods.
Thread.Sleep (Millis), object.wait (Millis), Systemclock.sleep (Millis) and handler are all using Uptimemills.