The API docs for Sytem.getTimer() are pretty useless:
Use getTimer() to get the current millisecond timer.
Returns:
(Number) — System millisecond timer
In using the Timer for my stop watch widget, some things I need to know (especially for the FR920XT):
1) Does the timer always start at 0 when the device is turned on?
2) Does the timer overflow?
In other words, is there ever a time when a successive call to System.getTimer() returns a smaller number?
a) If it does overflow, what is the boundary (32-bit or 64-bit)?
b) If it does overflow, what is the new starting value of the timer--0 or largest negative 32-bit/64-bit number?
You might ask why I'd care about this. The issue is that if the timer is only 32-bits, that's less than 25 days in milliseconds and it is very possible a person could have their device on for 25 days or more without turning it off. In that case, a 32-bit timer could overflow while doing timing and over that 25 day boundary.
BTW, why in the world is this method called 'getTimer()' vs getTimerTime()? It returns a time, not a Timer object. I found the name very confusing.