On Wed, Sep 28, 2011 at 5:21 PM, cool_zack <[email protected]> wrote: > 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)?
Considering that this would imply a device having uptime for ~40 years IIRC, I doubt it much matters all that much. You are welcome to poke through the source code, though, in hopes of finding a definitive answer. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

