[android-developers] rollover behavior of elapsedRealtime ()

2011-09-30 Thread cool_zack
I was looking at SDK description of public static long elapsedRealtime () There's no mention of rollover behavior. "long" here is 64 bit signed, correct? If so, does rollover to zero happen at (2^63 -1), or does it happen at (2^64 -1)? -- You received this message because you are subscribed to t

[android-developers] How to get pure UTC time?

2011-09-30 Thread cool_zack
I have a simple requirement:- I want to get UTC time. It should not change except for tiny adjustments that happen from Network. User modifications to the time on the device must not affect it. A big jump on phone bootup the very first time is OK, but after that I do not want any change beyond a f